Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 111.1 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 73.33 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 62.45 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003806/0.1295, allocations: 1.681 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1308, allocations: 0.5495 MB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1309, allocations: 8 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.1317, allocations: 447.2 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.1325, allocations: 283.4 kB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.1333, allocations: 155.1 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1338, allocations: 179.6 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.134, allocations: 16 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.1343, allocations: 115.8 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.1347, allocations: 219.6 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1348, allocations: 0 / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1349, allocations: 27.98 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1351, allocations: 83.67 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1352, allocations: 106.9 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1358, allocations: 259 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1358, allocations: 0 / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1358, allocations: 4 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1358, allocations: 0 / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001167/0.137, allocations: 0.6416 MB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1371, allocations: 12.03 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1371, allocations: 30.75 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.1372, allocations: 40.38 kB / 484.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1375, allocations: 304.1 kB / 484.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1375, allocations: 8.375 kB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1375, allocations: 384 / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1377, allocations: 65.61 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1377, allocations: 0 / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1378, allocations: 0 / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1378, allocations: 0 / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1379, allocations: 39.91 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.1386, allocations: 404.7 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1387, allocations: 46.5 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1388, allocations: 24.94 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1389, allocations: 0 / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1389, allocations: 34.5 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1389, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004317/0.1393, allocations: 133.2 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.1394, allocations: 51.41 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1405, allocations: 0.8699 MB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1405, allocations: 25.7 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.1408, allocations: 219.9 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1408, allocations: 11.91 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.1409, allocations: 21.7 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1411, allocations: 362.7 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.1412, allocations: 15.98 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1413, allocations: 20.02 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1414, allocations: 52.75 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1415, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002519/0.1417, allocations: 117 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1417, allocations: 7.984 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1418, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1418, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1419, allocations: 8 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1419, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.142, allocations: 7.984 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.142, allocations: 0 / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.1422, allocations: 217.7 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.1422, allocations: 47.42 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1425, allocations: 129 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1426, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1426, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1426, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1429, allocations: 293.5 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1429, allocations: 0 / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1429, allocations: 15.98 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1429, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.143, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.143, allocations: 7.938 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.143, allocations: 0 / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1433, allocations: 210.8 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.1434, allocations: 112.6 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1434, allocations: 12 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.1435, allocations: 0 / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.1436, allocations: 7.984 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1436, allocations: 0 / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006345/0.1442, allocations: 0.655 MB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1442, allocations: 0 / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1445, allocations: 19.98 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.1458, allocations: 0.9961 MB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.146, allocations: 39.97 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.146, allocations: 0 / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1461, allocations: 23.98 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1465, allocations: 22.3 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.1502, allocations: 3.316 MB / 493.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1506, allocations: 0.8182 MB / 494.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.1507, allocations: 20.05 kB / 494.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1508, allocations: 111.4 kB / 494.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1508, allocations: 0 / 494.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.1817, allocations: 5.608 MB / 499.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.182, allocations: 237.3 kB / 0.4884 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.131, allocations: 0 / 0.4884 GB, free: 0.6641 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches