Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 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 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 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 102.4 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 181.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3916/0.3916, allocations: 43.58 MB / 315 MB, free: 8.645 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005979/0.0005981, allocations: 16.61 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1353, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002606/0.1379, allocations: 1.546 MB / 445 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1395, allocations: 0.8703 MB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1397, allocations: 7.938 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.1402, allocations: 247.5 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.1406, allocations: 175.5 kB / 446.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1411, allocations: 131.8 kB / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.1415, allocations: 235.3 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.1417, allocations: 21.55 kB / 446.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1419, allocations: 111.6 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1422, allocations: 179.4 kB / 447 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1422, allocations: 4 kB / 447 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1424, allocations: 39.98 kB / 447 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.1425, allocations: 63.77 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1426, allocations: 109 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1429, allocations: 219.3 kB / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1429, allocations: 0 / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1429, allocations: 0 / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.143, allocations: 0 / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008108/0.1438, allocations: 0.5215 MB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1438, allocations: 12.03 kB / 447.9 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1439, allocations: 28.56 kB / 447.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1442, allocations: 288 kB / 448.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1443, allocations: 8.312 kB / 448.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1443, allocations: 12.03 kB / 448.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1445, allocations: 95.36 kB / 448.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1445, allocations: 4 kB / 448.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1446, allocations: 4 kB / 448.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1446, allocations: 0 / 448.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1447, allocations: 47.91 kB / 448.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.1453, allocations: 449 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1455, allocations: 121.3 kB / 448.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.1456, allocations: 37.7 kB / 449 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1457, allocations: 4 kB / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.146, allocations: 113 kB / 449.1 MB, free: 6.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.146, allocations: 3.984 kB / 449.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009368/0.1469, allocations: 375.7 kB / 449.5 MB, free: 6.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.147, allocations: 84.98 kB / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.1475, allocations: 481.7 kB / 450 MB, free: 5.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1475, allocations: 33.64 kB / 450.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1477, allocations: 160.4 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1478, allocations: 51.34 kB / 450.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1479, allocations: 25.72 kB / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1481, allocations: 346.8 kB / 450.6 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1482, allocations: 35.98 kB / 450.7 MB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1483, allocations: 71.41 kB / 450.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1486, allocations: 123.5 kB / 450.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1486, allocations: 0 / 450.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004408/0.149, allocations: 181.2 kB / 451 MB, free: 4.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1491, allocations: 4 kB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1491, allocations: 4 kB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1491, allocations: 0 / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1493, allocations: 39.92 kB / 451.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1493, allocations: 8 kB / 451.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.1494, allocations: 7.984 kB / 451.1 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1494, allocations: 12 kB / 451.1 MB, free: 4.707 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002305/0.1497, allocations: 169.7 kB / 451.3 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1497, allocations: 35.62 kB / 451.3 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.1499, allocations: 34.81 kB / 451.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1499, allocations: 4 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1499, allocations: 4.688 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1499, allocations: 7.984 kB / 451.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.1509, allocations: 0.628 MB / 452 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1509, allocations: 0 / 452 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.151, allocations: 24 kB / 452 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.151, allocations: 7.938 kB / 452 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.151, allocations: 3.984 kB / 452 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.151, allocations: 8.062 kB / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.151, allocations: 0 / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.1515, allocations: 368 kB / 452.4 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.1515, allocations: 112.7 kB / 452.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1516, allocations: 8 kB / 452.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1517, allocations: 8 kB / 452.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.1518, allocations: 7.984 kB / 452.5 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.1518, allocations: 15.98 kB / 452.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.1522, allocations: 359.1 kB / 452.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1522, allocations: 0 / 452.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.1525, allocations: 43.98 kB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001257/0.1538, allocations: 478.5 kB / 453.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.1541, allocations: 111.9 kB / 453.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1541, allocations: 128 / 453.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1543, allocations: 63.91 kB / 453.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.1549, allocations: 57.33 kB / 453.6 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.156, allocations: 0.5999 MB / 454.2 MB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.1566, allocations: 0.7752 MB / 455 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1568, allocations: 34.55 kB / 455 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.1568, allocations: 23.42 kB / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1569, allocations: 0 / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of Templates: time 0.2037/0.3607, allocations: 2.567 MB / 457.6 MB, free: 46.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches