Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009068, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000876/0.0008765, allocations: 177.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2844/0.2844, allocations: 43.54 MB / 314.5 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005414, allocations: 16 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001843/0.1267, allocations: 1.268 MB / 444 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005117/0.1272, allocations: 272 kB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.1273, allocations: 3.938 kB / 444.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.1278, allocations: 435.2 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1281, allocations: 247.5 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1285, allocations: 131.8 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1287, allocations: 111.8 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.1288, allocations: 19.95 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.1289, allocations: 95.8 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.129, allocations: 143.7 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1291, allocations: 7.938 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.1291, allocations: 12 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.1292, allocations: 83.69 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1293, allocations: 69.45 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1295, allocations: 180 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1295, allocations: 4 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1295, allocations: 0 / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1295, allocations: 0 / 445.8 MB, free: 10.23 MB / 382.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.0006745/0.1302, allocations: 0.5832 MB / 446.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1302, allocations: 16.03 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.1303, allocations: 39.48 kB / 446.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1306, allocations: 283.2 kB / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1306, allocations: 0 / 446.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1306, allocations: 7.984 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1308, allocations: 49.69 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1308, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1308, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1308, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.1309, allocations: 31.94 kB / 446.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1314, allocations: 388.8 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.1315, allocations: 34.56 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1315, allocations: 7.984 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1315, allocations: 30.62 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.594e-06/0.1316, allocations: 4 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002587/0.1318, allocations: 116.9 kB / 447.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1319, allocations: 55.53 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.1327, allocations: 0.8692 MB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1327, allocations: 25.7 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1329, allocations: 220.1 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1329, allocations: 11.84 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.1329, allocations: 0 / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1331, allocations: 358.8 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1332, allocations: 15.98 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.1332, allocations: 12 kB / 448.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.1332, allocations: 15.98 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1333, allocations: 0 / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/0.1334, allocations: 97.12 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1334, allocations: 4 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1334, allocations: 8.016 kB / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1335, allocations: 11.95 kB / 449.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.1335, allocations: 4 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1336, allocations: 0 / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.1336, allocations: 7.938 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1336, allocations: 0 / 449.1 MB, free: 6.738 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.1338, allocations: 213.8 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1339, allocations: 43.44 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.1341, allocations: 112.7 kB / 449.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1341, allocations: 3.953 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1341, allocations: 0 / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1341, allocations: 3.984 kB / 449.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1344, allocations: 285.6 kB / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1344, allocations: 0 / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1344, allocations: 7.938 kB / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1344, allocations: 0 / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1345, allocations: 4.031 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1345, allocations: 0 / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1345, allocations: 3.953 kB / 449.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1347, allocations: 187.1 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.1348, allocations: 112.5 kB / 450 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1348, allocations: 8.016 kB / 450 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1349, allocations: 7.938 kB / 450 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1349, allocations: 4 kB / 450 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1349, allocations: 3.953 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005839/0.1355, allocations: 0.655 MB / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1355, allocations: 0 / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1358, allocations: 16 kB / 450.7 MB, free: 4.988 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008677/0.1367, allocations: 355.3 kB / 451.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1368, allocations: 31.92 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1368, allocations: 0 / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.1369, allocations: 20.05 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1372, allocations: 22.3 kB / 451.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1382, allocations: 0.8022 MB / 451.9 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1387, allocations: 0.8262 MB / 452.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.1387, allocations: 20.16 kB / 452.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1388, allocations: 11.44 kB / 452.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1388, allocations: 0 / 452.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of Templates: time 0.004068/0.1428, allocations: 1.214 MB / 454 MB, free: 1.668 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches