Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 96.98 kB / 17 MB, free: 6.418 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.001378/0.001378, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.508/1.508, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.24 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 12 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002214/0.137, allocations: 1.472 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1393, allocations: 1.452 MB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.1393, allocations: 7.938 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1395, allocations: 39.83 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1397, allocations: 71.67 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1401, allocations: 147.7 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1403, allocations: 159.5 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.1404, allocations: 13.55 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1405, allocations: 67.66 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1407, allocations: 63.69 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1407, allocations: 4 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1408, allocations: 51.97 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.1409, allocations: 31.84 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.141, allocations: 41.64 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1412, allocations: 127.9 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1412, allocations: 0 / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1412, allocations: 0 / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1412, allocations: 4 kB / 475.3 MB, free: 9.914 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.0006035/0.1418, allocations: 442.6 kB / 475.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1419, allocations: 12.03 kB / 475.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1419, allocations: 19.81 kB / 475.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.1422, allocations: 238.7 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1422, allocations: 4 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1423, allocations: 4 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1425, allocations: 105 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1425, allocations: 0 / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1426, allocations: 4 kB / 476.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1426, allocations: 0 / 476.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1427, allocations: 31.97 kB / 476.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.1429, allocations: 214.5 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1432, allocations: 101.2 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.1433, allocations: 37.7 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1433, allocations: 4 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.1436, allocations: 117 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1436, allocations: 4 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004219/0.144, allocations: 161.4 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.1441, allocations: 128.5 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1444, allocations: 211.8 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1444, allocations: 33.64 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1445, allocations: 108.1 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.1445, allocations: 35.69 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.1446, allocations: 4 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1447, allocations: 326.8 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1448, allocations: 27.98 kB / 477.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1449, allocations: 71.38 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.145, allocations: 36.47 kB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.145, allocations: 0 / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002417/0.1453, allocations: 141.3 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1453, allocations: 7.953 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1453, allocations: 0 / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1453, allocations: 4 kB / 477.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1454, allocations: 23.92 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1454, allocations: 4 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.1455, allocations: 16 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1455, allocations: 4 kB / 478 MB, free: 6.996 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 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1457, allocations: 134.3 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1457, allocations: 19.75 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.1458, allocations: 24.94 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1458, allocations: 4 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1458, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1458, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.146, allocations: 213.5 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.146, allocations: 4 kB / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.146, allocations: 15.92 kB / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.146, allocations: 0 / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1461, allocations: 7.984 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1461, allocations: 3.953 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1461, allocations: 0 / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1464, allocations: 165.7 kB / 478.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.1465, allocations: 104.8 kB / 478.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1465, allocations: 7.984 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/0.1466, allocations: 4 kB / 478.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1466, allocations: 11.94 kB / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1466, allocations: 4 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1468, allocations: 164.3 kB / 478.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1468, allocations: 3.938 kB / 478.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1471, allocations: 36 kB / 478.9 MB, free: 5.984 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.1482, allocations: 456.4 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1484, allocations: 80.03 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1484, allocations: 8.062 kB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.1485, allocations: 44.23 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1488, allocations: 43.95 kB / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.1493, allocations: 275 kB / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1496, allocations: 0.7166 MB / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.86e-05/0.1497, allocations: 33.52 kB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.1498, allocations: 31.42 kB / 480.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1498, allocations: 0 / 480.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Templates: time 0.005534/0.1553, allocations: 2.461 MB / 483 MB, free: 2 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches