Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001343, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 90.34 kB / 261.7 MB, free: 1.688 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.2337/0.2337, allocations: 43.48 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.193e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 58.87 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5614, allocations: 86.79 MB / 0.5507 GB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5617, allocations: 79.48 kB / 0.5508 GB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.5737, allocations: 5.187 MB / 0.5558 GB, free: 4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5738, allocations: 4 kB / 0.5559 GB, free: 3.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5738, allocations: 0 / 0.5559 GB, free: 3.996 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003886/0.5742, allocations: 385.8 kB / 0.5562 GB, free: 3.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5742, allocations: 12.03 kB / 0.5562 GB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.5743, allocations: 7.906 kB / 0.5562 GB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.5746, allocations: 222.2 kB / 0.5564 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5746, allocations: 0 / 0.5564 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.5746, allocations: 0 / 0.5564 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.702e-05/0.5747, allocations: 19.86 kB / 0.5565 GB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.5748, allocations: 46 kB / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5748, allocations: 0 / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5748, allocations: 0 / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.5748, allocations: 0 / 0.5565 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.575, allocations: 162 kB / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.5751, allocations: 50.25 kB / 0.5567 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.5751, allocations: 16.55 kB / 0.5567 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5752, allocations: 4 kB / 0.5567 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.5753, allocations: 66.8 kB / 0.5568 GB, free: 2.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.5753, allocations: 0 / 0.5568 GB, free: 2.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002067/0.5755, allocations: 76.83 kB / 0.5569 GB, free: 2.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.5756, allocations: 51.41 kB / 0.5569 GB, free: 2.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5757, allocations: 163.1 kB / 0.5571 GB, free: 2.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.5757, allocations: 37.64 kB / 0.5571 GB, free: 2.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.5758, allocations: 103.4 kB / 0.5572 GB, free: 2.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.5758, allocations: 11.75 kB / 0.5572 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.5758, allocations: 3.938 kB / 0.5572 GB, free: 2.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.5759, allocations: 326.7 kB / 0.5575 GB, free: 2.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.5759, allocations: 11.81 kB / 0.5575 GB, free: 2.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.576, allocations: 25.58 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.576, allocations: 19.8 kB / 0.5576 GB, free: 2.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.576, allocations: 0 / 0.5576 GB, free: 2.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.274e-05/0.5761, allocations: 81.05 kB / 0.5577 GB, free: 2.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5761, allocations: 4 kB / 0.5577 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5762, allocations: 3.938 kB / 0.5577 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5762, allocations: 4 kB / 0.5577 GB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.5763, allocations: 11.98 kB / 0.5577 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5763, allocations: 0 / 0.5577 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.5763, allocations: 4 kB / 0.5577 GB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.5763, allocations: 0 / 0.5577 GB, free: 2.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.99e-05/0.5764, allocations: 109 kB / 0.5578 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.5764, allocations: 19.7 kB / 0.5578 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5766, allocations: 89.56 kB / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5766, allocations: 0 / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5766, allocations: 0 / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5766, allocations: 0 / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.5768, allocations: 165.6 kB / 0.5581 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5768, allocations: 0 / 0.5581 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.5768, allocations: 4 kB / 0.5581 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5768, allocations: 8 kB / 0.5581 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5768, allocations: 3.953 kB / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.5768, allocations: 0 / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5768, allocations: 0 / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.577, allocations: 108.3 kB / 0.5582 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.577, allocations: 88.92 kB / 0.5583 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.577, allocations: 11.84 kB / 0.5583 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.5771, allocations: 7.953 kB / 0.5583 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.5771, allocations: 4 kB / 0.5583 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5772, allocations: 4.188 kB / 0.5583 GB, free: 1.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.5772, allocations: 138.6 kB / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5772, allocations: 3.938 kB / 0.5584 GB, free: 1.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.5775, allocations: 23.88 kB / 0.5585 GB, free: 1.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007472/0.5782, allocations: 343.1 kB / 0.5588 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.86e-05/0.5783, allocations: 35.67 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5783, allocations: 0 / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.5784, allocations: 23.88 kB / 0.5588 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.5786, allocations: 19.11 kB / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.5789, allocations: 147.6 kB / 0.559 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.579, allocations: 0.7041 MB / 0.5597 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.829e-05/0.5791, allocations: 13.61 kB / 0.5597 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.5791, allocations: 15.31 kB / 0.5597 GB, free: 15.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5791, allocations: 0 / 0.5597 GB, free: 15.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003792/0.5829, allocations: 1.424 MB / 0.5611 GB, free: 14.58 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches