Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.11 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 81.06 kB / 417.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1387, allocations: 62.44 MB / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004246/0.143, allocations: 2.104 MB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1452, allocations: 1.111 MB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.1454, allocations: 0 / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.146, allocations: 255.4 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.1467, allocations: 235.4 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1482, allocations: 0.614 MB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1487, allocations: 351.1 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.149, allocations: 73 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1492, allocations: 151.4 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.1495, allocations: 211.2 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.1495, allocations: 12 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.1497, allocations: 103.9 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1499, allocations: 99.66 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.15, allocations: 138.9 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.1505, allocations: 362.7 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1505, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.1505, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1505, allocations: 7.875 kB / 485.4 MB, free: 15.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008736/0.1514, allocations: 0.6844 MB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1515, allocations: 8.031 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1515, allocations: 46.73 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.1516, allocations: 48.36 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.152, allocations: 346 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1521, allocations: 8.375 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.1521, allocations: 16.36 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.1524, allocations: 125.5 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1524, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1524, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1524, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1527, allocations: 99.86 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.1534, allocations: 0.5198 MB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1537, allocations: 110.5 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.1538, allocations: 40.83 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1538, allocations: 4 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1538, allocations: 38.5 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1538, allocations: 4 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00107/0.1549, allocations: 462.1 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.155, allocations: 51.41 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.1557, allocations: 0.6034 MB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1557, allocations: 29.7 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1559, allocations: 220.3 kB / 488.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.1559, allocations: 55.2 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.156, allocations: 33.7 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1561, allocations: 358.8 kB / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1563, allocations: 67.89 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1564, allocations: 63.97 kB / 489.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.1567, allocations: 164.6 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1567, allocations: 0 / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004026/0.1571, allocations: 235.2 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1572, allocations: 4 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1572, allocations: 0 / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1572, allocations: 0 / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1574, allocations: 35.92 kB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1574, allocations: 0 / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.1575, allocations: 19.98 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1575, allocations: 4 kB / 489.8 MB, free: 10.96 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 (17): * Single equations (assignments): 17 * 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.0001744/0.1577, allocations: 181.7 kB / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.1578, allocations: 43.44 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.1583, allocations: 281.6 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1583, allocations: 7.938 kB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1583, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1583, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.1593, allocations: 0.6989 MB / 491 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1593, allocations: 0 / 491 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1594, allocations: 43.97 kB / 491.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1594, allocations: 0 / 491.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1594, allocations: 4 kB / 491.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.1595, allocations: 3.938 kB / 491.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1595, allocations: 3.938 kB / 491.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.1599, allocations: 333.6 kB / 491.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.16, allocations: 124.6 kB / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1601, allocations: 8 kB / 491.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1602, allocations: 7.938 kB / 491.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1602, allocations: 15.98 kB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1603, allocations: 7.984 kB / 491.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004689/0.1607, allocations: 446.8 kB / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1607, allocations: 0 / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1611, allocations: 55.89 kB / 492.1 MB, free: 8.625 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 (17): * Single equations (assignments): 17 * 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.002286/0.1634, allocations: 1.451 MB / 493.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.1638, allocations: 175.8 kB / 493.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1638, allocations: 4 kB / 493.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.164, allocations: 91.88 kB / 493.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.1645, allocations: 93.2 kB / 493.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.1688, allocations: 3.481 MB / 497.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1692, allocations: 0.8221 MB / 498.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.1694, allocations: 58.25 kB / 498.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.1696, allocations: 139.4 kB / 498.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1696, allocations: 0 / 498.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1917, allocations: 7.622 MB / 0.4941 GB, free: 10.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.192, allocations: 240.7 kB / 0.4944 GB, free: 10.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.471, allocations: 0 / 0.4944 GB, free: 10.69 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches