Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 100.2 kB / 18.4 MB, free: 4.676 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.001887/0.001887, allocations: 182.9 kB / 19.33 MB, free: 3.746 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.06 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.205/0.205, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 66.81 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1257, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003987/0.1298, allocations: 2.298 MB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.132, allocations: 1.286 MB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1321, allocations: 7.938 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.1327, allocations: 279.1 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.1332, allocations: 270.9 kB / 474.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.134, allocations: 374 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1346, allocations: 0.5141 MB / 475.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1348, allocations: 49.08 kB / 475.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1351, allocations: 235 kB / 476 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1354, allocations: 259 kB / 476.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.1354, allocations: 20 kB / 476.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1356, allocations: 55.98 kB / 476.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1357, allocations: 103.6 kB / 476.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1359, allocations: 174.7 kB / 476.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1364, allocations: 398.4 kB / 477 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1364, allocations: 0 / 477 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.1364, allocations: 4 kB / 477 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1364, allocations: 0 / 477 MB, free: 7.32 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001229/0.1376, allocations: 0.762 MB / 477.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1377, allocations: 12.03 kB / 477.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1378, allocations: 52.22 kB / 477.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.1385, allocations: 411.9 kB / 478.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1385, allocations: 12.36 kB / 478.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1386, allocations: 20.12 kB / 478.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.139, allocations: 201.8 kB / 478.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.139, allocations: 3.906 kB / 478.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.139, allocations: 8 kB / 478.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1391, allocations: 4 kB / 478.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1393, allocations: 99.86 kB / 478.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.1402, allocations: 0.8527 MB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.1408, allocations: 293.2 kB / 479.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.141, allocations: 92.25 kB / 479.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1411, allocations: 11.94 kB / 479.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.1415, allocations: 231.9 kB / 480 MB, free: 4.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1415, allocations: 0 / 480 MB, free: 4.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001977/0.1435, allocations: 0.977 MB / 481 MB, free: 3.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.1436, allocations: 158.2 kB / 481.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.1444, allocations: 0.6198 MB / 481.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.1444, allocations: 41.7 kB / 481.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1446, allocations: 217.1 kB / 482 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1447, allocations: 126.3 kB / 482.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1448, allocations: 70.12 kB / 482.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.145, allocations: 374.8 kB / 482.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1453, allocations: 96.83 kB / 482.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.1457, allocations: 184.9 kB / 482.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.1462, allocations: 296.6 kB / 483.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1462, allocations: 0 / 483.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007059/0.1469, allocations: 412.6 kB / 483.6 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.147, allocations: 8 kB / 483.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.147, allocations: 448 / 483.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.147, allocations: 4 kB / 483.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1473, allocations: 75.91 kB / 483.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1474, allocations: 11.98 kB / 483.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1476, allocations: 20 kB / 483.7 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.1476, allocations: 19.98 kB / 483.7 MB, free: 204 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002495/0.1478, allocations: 212.3 kB / 483.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.1479, allocations: 63.22 kB / 484 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1481, allocations: 63.91 kB / 484 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1481, allocations: 4 kB / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.1481, allocations: 4 kB / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1481, allocations: 0 / 484 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1497, allocations: 1.273 MB / 485.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1497, allocations: 0 / 485.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1499, allocations: 51.92 kB / 485.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.1499, allocations: 4 kB / 485.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1499, allocations: 20.08 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.15, allocations: 8 kB / 485.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.15, allocations: 0 / 485.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.1509, allocations: 0.8086 MB / 486.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.151, allocations: 128.4 kB / 486.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.151, allocations: 15.94 kB / 486.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.1514, allocations: 19.98 kB / 486.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.1515, allocations: 39.89 kB / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.1515, allocations: 23.98 kB / 486.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.152, allocations: 454.8 kB / 486.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.152, allocations: 0 / 486.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.1526, allocations: 80 kB / 486.9 MB, free: 12.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001202/0.1538, allocations: 492.9 kB / 487.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.1544, allocations: 296 kB / 487.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1544, allocations: 0 / 487.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.1547, allocations: 147.8 kB / 487.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.1557, allocations: 148.6 kB / 488 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.157, allocations: 0.8614 MB / 488.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1574, allocations: 0.8511 MB / 489.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.1576, allocations: 91.38 kB / 489.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1578, allocations: 51.42 kB / 489.9 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1578, allocations: 0 / 489.9 MB, free: 10 MB / 366.1 MB Notification: Performance of Templates: time 0.01002/0.1678, allocations: 5.636 MB / 495.5 MB, free: 4.422 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches