Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.001811, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001935, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.11 MB / 343.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 72.5 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1378, allocations: 62.44 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004577/0.1425, allocations: 2.086 MB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1452, allocations: 1.345 MB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.1455, allocations: 0 / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1459, allocations: 47.7 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.1466, allocations: 179.4 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1481, allocations: 0.5752 MB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.1486, allocations: 295.1 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1488, allocations: 68.94 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.1491, allocations: 135.4 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.1495, allocations: 183.3 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.1495, allocations: 8 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1497, allocations: 63.97 kB / 484.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1499, allocations: 143.5 kB / 484.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1502, allocations: 174.6 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.1507, allocations: 398.4 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1508, allocations: 0 / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1508, allocations: 0 / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1508, allocations: 0 / 485 MB, free: 15.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001379/0.1522, allocations: 0.8162 MB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.1522, allocations: 8.875 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.1523, allocations: 42.73 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.1527, allocations: 68.27 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.1534, allocations: 488.4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1535, allocations: 8.375 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1535, allocations: 15.92 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1538, allocations: 147.2 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1539, allocations: 3.906 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1539, allocations: 7.938 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1539, allocations: 4 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.1542, allocations: 95.86 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1554, allocations: 0.7072 MB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1556, allocations: 117.2 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1558, allocations: 41.83 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.1558, allocations: 15.91 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1558, allocations: 34.56 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1558, allocations: 4 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001572/0.1574, allocations: 0.5524 MB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1575, allocations: 81.11 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1586, allocations: 0.9337 MB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1586, allocations: 29.7 kB / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1589, allocations: 272.2 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.1589, allocations: 47.27 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.159, allocations: 37.7 kB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1591, allocations: 313.9 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1593, allocations: 67.94 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1595, allocations: 88.5 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1598, allocations: 161.8 kB / 490.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1598, allocations: 0 / 490.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005121/0.1604, allocations: 248.8 kB / 490.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1604, allocations: 8 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1604, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1604, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1606, allocations: 35.97 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1607, allocations: 8 kB / 490.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1608, allocations: 15.98 kB / 490.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1608, allocations: 4 kB / 490.5 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002301/0.1611, allocations: 217.6 kB / 490.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1612, allocations: 59.25 kB / 490.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.1619, allocations: 295.8 kB / 491.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1619, allocations: 4 kB / 491.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1619, allocations: 0 / 491.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1619, allocations: 0 / 491.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.1632, allocations: 0.8254 MB / 491.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1632, allocations: 4 kB / 491.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1634, allocations: 39.91 kB / 492 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1634, allocations: 0 / 492 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1634, allocations: 4 kB / 492 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1634, allocations: 7.938 kB / 492 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1634, allocations: 0 / 492 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.164, allocations: 429.9 kB / 492.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.1642, allocations: 144.4 kB / 492.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.1643, allocations: 11.98 kB / 492.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1645, allocations: 11.94 kB / 492.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.1646, allocations: 19.91 kB / 492.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1646, allocations: 8 kB / 492.6 MB, free: 8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007951/0.1654, allocations: 0.6786 MB / 493.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1654, allocations: 0 / 493.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1658, allocations: 55.91 kB / 493.3 MB, free: 7.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001773/0.1676, allocations: 1.252 MB / 494.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.1681, allocations: 155.8 kB / 494.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1681, allocations: 4 kB / 494.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1683, allocations: 91.88 kB / 494.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.1689, allocations: 73.28 kB / 494.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.1762, allocations: 5.476 MB / 0.4886 GB, free: 248 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.1767, allocations: 0.877 MB / 0.4895 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.1769, allocations: 91.2 kB / 0.4896 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.1772, allocations: 175.4 kB / 0.4897 GB, free: 15.08 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1772, allocations: 0 / 0.4897 GB, free: 15.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2001, allocations: 9.632 MB / 0.4991 GB, free: 5.535 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.2003, allocations: 239 kB / 0.4994 GB, free: 5.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.336, allocations: 0 / 0.4994 GB, free: 5.277 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches