Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 97.41 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4157/0.4157, allocations: 43.5 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003666/0.1415, allocations: 1.845 MB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1432, allocations: 0.8547 MB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1434, allocations: 7.875 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.1439, allocations: 295.4 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.1444, allocations: 195.5 kB / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1448, allocations: 131.7 kB / 490.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1451, allocations: 227.4 kB / 490.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.1452, allocations: 21.52 kB / 490.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1454, allocations: 119.5 kB / 490.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1456, allocations: 180 kB / 490.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1457, allocations: 4 kB / 490.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1458, allocations: 43.98 kB / 490.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.146, allocations: 136.5 kB / 491.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1461, allocations: 134.8 kB / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.1465, allocations: 351 kB / 491.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1465, allocations: 0 / 491.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1465, allocations: 0 / 491.5 MB, free: 8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1465, allocations: 0 / 491.5 MB, free: 8 MB / 378.7 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.001089/0.1476, allocations: 0.7229 MB / 492.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1477, allocations: 8.031 kB / 492.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.1478, allocations: 52.38 kB / 492.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.1484, allocations: 432 kB / 492.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1485, allocations: 8.375 kB / 492.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1485, allocations: 8.109 kB / 492.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1487, allocations: 83.31 kB / 492.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1487, allocations: 4 kB / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1488, allocations: 0 / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1488, allocations: 0 / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1489, allocations: 35.97 kB / 492.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1493, allocations: 378.2 kB / 493.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1496, allocations: 109.2 kB / 493.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.1497, allocations: 45.64 kB / 493.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1497, allocations: 0 / 493.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.15, allocations: 105 kB / 493.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.15, allocations: 0 / 493.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004909/0.1505, allocations: 201 kB / 493.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1506, allocations: 81.11 kB / 493.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1516, allocations: 1.007 MB / 494.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1517, allocations: 33.64 kB / 494.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1519, allocations: 232 kB / 495 MB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1519, allocations: 27.66 kB / 495.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.152, allocations: 25.7 kB / 495.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1522, allocations: 374.8 kB / 495.5 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.1522, allocations: 27.98 kB / 495.5 MB, free: 3.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.1523, allocations: 55.41 kB / 495.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1525, allocations: 95.86 kB / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1525, allocations: 0 / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/0.1529, allocations: 172.9 kB / 495.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1529, allocations: 8 kB / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1529, allocations: 0 / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1529, allocations: 7.938 kB / 495.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.153, allocations: 19.98 kB / 495.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.1531, allocations: 3.984 kB / 495.8 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1532, allocations: 11.97 kB / 495.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1532, allocations: 4 kB / 495.8 MB, free: 3.387 MB / 378.7 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.0002215/0.1534, allocations: 237.5 kB / 496.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1535, allocations: 47.34 kB / 496.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.1536, allocations: 59.84 kB / 496.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1536, allocations: 0 / 496.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1536, allocations: 0 / 496.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1536, allocations: 0 / 496.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.154, allocations: 345.3 kB / 496.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.154, allocations: 4 kB / 496.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.154, allocations: 11.98 kB / 496.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.154, allocations: 0 / 496.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.154, allocations: 0 / 496.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.154, allocations: 4.125 kB / 496.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1541, allocations: 4 kB / 496.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.1549, allocations: 0.8774 MB / 497.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.155, allocations: 136.5 kB / 497.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1551, allocations: 4 kB / 497.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1552, allocations: 3.984 kB / 497.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.1552, allocations: 8.031 kB / 497.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1552, allocations: 19.92 kB / 497.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007833/0.156, allocations: 0.7409 MB / 498.3 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.156, allocations: 0 / 498.3 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.1564, allocations: 47.98 kB / 498.4 MB, free: 0.7148 MB / 378.7 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.0009483/0.1574, allocations: 414.5 kB / 498.8 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.1577, allocations: 83.91 kB / 498.9 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1577, allocations: 0 / 498.9 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1578, allocations: 39.97 kB / 498.9 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1583, allocations: 74.8 kB / 499 MB, free: 168 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1601, allocations: 1.059 MB / 0.4883 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.1608, allocations: 0.8391 MB / 0.4891 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.161, allocations: 50.95 kB / 0.4892 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.1611, allocations: 35.42 kB / 0.4892 GB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 2.815e-06/0.1611, allocations: 0 / 0.4892 GB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.008965/0.1701, allocations: 3.613 MB / 0.4927 GB, free: 10.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches