Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001541, 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.00114/0.00114, allocations: 109.5 kB / 269.9 MB, free: 8.426 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.3957/0.3957, allocations: 43.5 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003593/0.1342, allocations: 1.991 MB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1358, allocations: 0.9599 MB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.136, allocations: 3.938 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.1367, allocations: 175.6 kB / 490.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.137, allocations: 147.6 kB / 490.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1375, allocations: 183.7 kB / 490.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1378, allocations: 247.3 kB / 490.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1379, allocations: 33.62 kB / 490.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1381, allocations: 99.48 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1383, allocations: 103.6 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1383, allocations: 4 kB / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1385, allocations: 43.92 kB / 491 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.1385, allocations: 51.81 kB / 491 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.1386, allocations: 71.48 kB / 491.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.1389, allocations: 231.4 kB / 491.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1389, allocations: 3.938 kB / 491.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1389, allocations: 0 / 491.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.139, allocations: 0 / 491.3 MB, free: 8.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008361/0.1398, allocations: 0.5467 MB / 491.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1398, allocations: 8.031 kB / 491.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.1399, allocations: 24.66 kB / 491.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1403, allocations: 279.6 kB / 492.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1403, allocations: 8.359 kB / 492.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1403, allocations: 16 kB / 492.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.1405, allocations: 108.2 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1405, allocations: 0 / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1406, allocations: 0 / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1406, allocations: 0 / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1407, allocations: 47.91 kB / 492.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1412, allocations: 361.6 kB / 492.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1415, allocations: 121.2 kB / 492.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.1416, allocations: 45.7 kB / 492.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1416, allocations: 3.984 kB / 492.9 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.1418, allocations: 120.9 kB / 493 MB, free: 6.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.376e-06/0.1418, allocations: 0 / 493 MB, free: 6.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004248/0.1422, allocations: 177.3 kB / 493.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.1423, allocations: 114.7 kB / 493.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1427, allocations: 338.9 kB / 493.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1427, allocations: 29.7 kB / 493.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.1428, allocations: 136.1 kB / 493.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.1428, allocations: 31.77 kB / 493.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1429, allocations: 33.7 kB / 493.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.143, allocations: 334.8 kB / 494.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.1431, allocations: 35.98 kB / 494.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1432, allocations: 81.06 kB / 494.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1434, allocations: 91.36 kB / 494.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1434, allocations: 0 / 494.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002624/0.1437, allocations: 149.9 kB / 494.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1437, allocations: 8 kB / 494.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1437, allocations: 3.984 kB / 494.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1437, allocations: 0 / 494.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1438, allocations: 28 kB / 494.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1439, allocations: 0 / 494.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.1439, allocations: 15.98 kB / 494.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.144, allocations: 7.938 kB / 494.6 MB, free: 4.629 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001205/0.1441, allocations: 153.8 kB / 494.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1441, allocations: 27.7 kB / 494.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.1442, allocations: 29.67 kB / 494.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1442, allocations: 4 kB / 494.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1442, allocations: 0 / 494.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1442, allocations: 3.984 kB / 494.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1445, allocations: 249.3 kB / 495 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1445, allocations: 0 / 495 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.1445, allocations: 8 kB / 495.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1445, allocations: 3.938 kB / 495.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.1445, allocations: 11.94 kB / 495.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1446, allocations: 7.984 kB / 495.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1446, allocations: 0 / 495.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.1453, allocations: 0.7923 MB / 495.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.1454, allocations: 96.81 kB / 496 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.1454, allocations: 15.94 kB / 496 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1455, allocations: 4 kB / 496 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.1456, allocations: 7.984 kB / 496 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1456, allocations: 11.98 kB / 496 MB, free: 3.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.1459, allocations: 241.9 kB / 496.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1459, allocations: 0 / 496.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.1463, allocations: 40 kB / 496.3 MB, free: 2.793 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001034/0.1473, allocations: 449.8 kB / 496.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1476, allocations: 91.89 kB / 496.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1476, allocations: 0 / 496.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1477, allocations: 47.92 kB / 496.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1481, allocations: 53.34 kB / 496.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.1488, allocations: 0.5555 MB / 497.5 MB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1492, allocations: 0.744 MB / 498.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1493, allocations: 41.91 kB / 498.2 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.1493, allocations: 27.44 kB / 498.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1493, allocations: 0 / 498.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of Templates: time 0.006386/0.1557, allocations: 2.889 MB / 0.4894 GB, free: 13.89 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches