Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.56 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003747/0.1219, allocations: 1.792 MB / 471.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1238, allocations: 0.9549 MB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.124, allocations: 3.938 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1246, allocations: 311.3 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.1251, allocations: 207.3 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.1256, allocations: 170.5 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.126, allocations: 243.4 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.1261, allocations: 13.55 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.1263, allocations: 131.6 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1265, allocations: 199.4 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1266, allocations: 4 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1267, allocations: 39.98 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1269, allocations: 127.6 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.1271, allocations: 150.8 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1275, allocations: 362.9 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1275, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1275, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1276, allocations: 4 kB / 474.6 MB, free: 9.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001053/0.1286, allocations: 0.7191 MB / 475.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1287, allocations: 12.03 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1288, allocations: 52.28 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.1294, allocations: 451.8 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1294, allocations: 4.375 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1295, allocations: 8.125 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1297, allocations: 87.36 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1297, allocations: 0 / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1297, allocations: 3.938 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1297, allocations: 0 / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1299, allocations: 35.91 kB / 476 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1303, allocations: 374.4 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1306, allocations: 105.2 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1307, allocations: 41.64 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1307, allocations: 3.938 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.1311, allocations: 109 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.1311, allocations: 0 / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005227/0.1316, allocations: 197 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.1317, allocations: 81.11 kB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1328, allocations: 1.03 MB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1329, allocations: 29.7 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.133, allocations: 248 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.1331, allocations: 31.55 kB / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1332, allocations: 29.7 kB / 478.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1334, allocations: 366.8 kB / 478.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.1335, allocations: 31.92 kB / 478.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1336, allocations: 59.41 kB / 478.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1338, allocations: 87.36 kB / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1338, allocations: 0 / 478.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003235/0.1341, allocations: 177.5 kB / 478.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1341, allocations: 6.656 kB / 478.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1341, allocations: 64 / 478.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1342, allocations: 8 kB / 478.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1343, allocations: 23.92 kB / 479 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1343, allocations: 4 kB / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1344, allocations: 11.91 kB / 479 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1345, allocations: 4 kB / 479 MB, free: 5.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002221/0.1347, allocations: 229.6 kB / 479.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.1348, allocations: 47.34 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.1348, allocations: 60 kB / 479.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1349, allocations: 4 kB / 479.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1349, allocations: 0 / 479.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1349, allocations: 4 kB / 479.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1352, allocations: 337.4 kB / 479.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1352, allocations: 7.938 kB / 479.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.1353, allocations: 7.938 kB / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1353, allocations: 0 / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1353, allocations: 7.984 kB / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1353, allocations: 0 / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1353, allocations: 0 / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.1357, allocations: 209.2 kB / 479.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1358, allocations: 136.5 kB / 480 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.1359, allocations: 0 / 480 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.1359, allocations: 7.984 kB / 480 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.136, allocations: 11.98 kB / 480 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.136, allocations: 4 kB / 480 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000805/0.1368, allocations: 0.7722 MB / 480.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1369, allocations: 96 / 480.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1371, allocations: 51.92 kB / 480.9 MB, free: 3.027 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001018/0.1382, allocations: 405.2 kB / 481.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.1385, allocations: 83.84 kB / 481.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1385, allocations: 0 / 481.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1386, allocations: 48.03 kB / 481.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1391, allocations: 78.19 kB / 481.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1405, allocations: 0.9267 MB / 482.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1411, allocations: 0.8427 MB / 483.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.1412, allocations: 31.44 kB / 483.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1412, allocations: 0 / 483.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Templates: time 0.009746/0.1509, allocations: 5.063 MB / 488.3 MB, free: 11.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches