Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001627/0.001627, allocations: 192 kB / 18.56 MB, free: 4.434 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.337/1.337, allocations: 222.9 MB / 242.2 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.2313/0.2313, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.45 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003498/0.1232, allocations: 1.789 MB / 471 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1249, allocations: 0.955 MB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.125, allocations: 7.875 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.1255, allocations: 303.3 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.1259, allocations: 207.3 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1263, allocations: 182.9 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.1266, allocations: 243.4 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.1267, allocations: 13.55 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1268, allocations: 123.6 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.1272, allocations: 199.4 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1272, allocations: 8 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1273, allocations: 39.98 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.1275, allocations: 131.6 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1277, allocations: 150.7 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1281, allocations: 359 kB / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1281, allocations: 0 / 473.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1281, allocations: 8 kB / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1281, allocations: 0 / 473.9 MB, free: 9.66 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.0009458/0.129, allocations: 0.7191 MB / 474.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1291, allocations: 8.031 kB / 474.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.1292, allocations: 52.28 kB / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.1297, allocations: 447.8 kB / 475.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1298, allocations: 4.375 kB / 475.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1298, allocations: 4.125 kB / 475.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.13, allocations: 91.36 kB / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.13, allocations: 0 / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.13, allocations: 0 / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.13, allocations: 3.938 kB / 475.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1302, allocations: 31.92 kB / 475.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.1307, allocations: 378.4 kB / 475.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1309, allocations: 105.2 kB / 475.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1311, allocations: 49.56 kB / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1311, allocations: 0 / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.1313, allocations: 113 kB / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1313, allocations: 0 / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004816/0.1318, allocations: 197 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1319, allocations: 77.11 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.1331, allocations: 1.038 MB / 477.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1331, allocations: 29.7 kB / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1333, allocations: 236.1 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.1334, allocations: 39.42 kB / 477.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1336, allocations: 29.7 kB / 477.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.1338, allocations: 366.8 kB / 477.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.1339, allocations: 23.98 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.134, allocations: 59.42 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1342, allocations: 95.84 kB / 478.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1342, allocations: 0 / 478.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.1345, allocations: 161 kB / 478.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1345, allocations: 8.062 kB / 478.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1345, allocations: 7.984 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1346, allocations: 0 / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1347, allocations: 23.94 kB / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1347, allocations: 0 / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.1348, allocations: 15.89 kB / 478.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1348, allocations: 7.984 kB / 478.3 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.0002533/0.1351, allocations: 229.6 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.1352, allocations: 51.34 kB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.1353, allocations: 64 kB / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1353, allocations: 0 / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1353, allocations: 0 / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1353, allocations: 0 / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1357, allocations: 345.4 kB / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1357, allocations: 0 / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.1358, allocations: 15.88 kB / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1358, allocations: 0 / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1358, allocations: 4 kB / 479 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1358, allocations: 4.109 kB / 479 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1358, allocations: 4 kB / 479 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1362, allocations: 209.2 kB / 479.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.1365, allocations: 132.5 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.1366, allocations: 4 kB / 479.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1366, allocations: 7.984 kB / 479.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1367, allocations: 8 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1367, allocations: 11.98 kB / 479.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.1378, allocations: 0.7643 MB / 480.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1378, allocations: 4 kB / 480.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.1381, allocations: 48.08 kB / 480.2 MB, free: 3.02 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.00101/0.1391, allocations: 399.5 kB / 480.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1394, allocations: 87.84 kB / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1394, allocations: 4.125 kB / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1395, allocations: 39.97 kB / 480.7 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.0004316/0.1399, allocations: 90.11 kB / 480.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1413, allocations: 0.886 MB / 481.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.1419, allocations: 0.8388 MB / 482.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.142, allocations: 54.95 kB / 482.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.1421, allocations: 35.42 kB / 482.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1421, allocations: 0 / 482.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Templates: time 0.008525/0.1507, allocations: 3.713 MB / 486.3 MB, free: 13.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches