Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.695/1.695, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0009529/0.000953, allocations: 94.14 kB / 261.8 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.242/0.242, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 58.87 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5608, allocations: 86.79 MB / 0.5507 GB, free: 8.168 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5611, allocations: 77.81 kB / 0.5508 GB, free: 8.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.5738, allocations: 5.487 MB / 0.5561 GB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5738, allocations: 0 / 0.5561 GB, free: 3.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5739, allocations: 0 / 0.5561 GB, free: 3.742 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.0003827/0.5743, allocations: 408 kB / 0.5565 GB, free: 3.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5743, allocations: 12.02 kB / 0.5565 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.5744, allocations: 11.91 kB / 0.5565 GB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.5747, allocations: 232.7 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5747, allocations: 4 kB / 0.5568 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5747, allocations: 0 / 0.5568 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.421e-05/0.5748, allocations: 15.38 kB / 0.5568 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.5749, allocations: 48.86 kB / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5749, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5749, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5749, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.5751, allocations: 168 kB / 0.557 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.5752, allocations: 56.75 kB / 0.5571 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.5752, allocations: 20.19 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.5752, allocations: 3.938 kB / 0.5571 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.5753, allocations: 58.41 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.5754, allocations: 0 / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002001/0.5756, allocations: 83.8 kB / 0.5572 GB, free: 2.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.5756, allocations: 63.34 kB / 0.5573 GB, free: 2.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.5758, allocations: 229 kB / 0.5575 GB, free: 2.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.5758, allocations: 25.7 kB / 0.5575 GB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.5759, allocations: 112 kB / 0.5576 GB, free: 2.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.5759, allocations: 7.812 kB / 0.5576 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5759, allocations: 3.938 kB / 0.5576 GB, free: 2.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.576, allocations: 325.9 kB / 0.5579 GB, free: 1.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.576, allocations: 15.42 kB / 0.558 GB, free: 1.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.5761, allocations: 28.84 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.5761, allocations: 15.23 kB / 0.558 GB, free: 1.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5761, allocations: 0 / 0.558 GB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001014/0.5762, allocations: 83.67 kB / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5762, allocations: 4 kB / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5763, allocations: 0 / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5763, allocations: 0 / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.5764, allocations: 8 kB / 0.5581 GB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5764, allocations: 4 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.5764, allocations: 11.92 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.5764, allocations: 4 kB / 0.5581 GB, free: 1.672 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.46e-05/0.5765, allocations: 108.4 kB / 0.5582 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.5765, allocations: 15.84 kB / 0.5582 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.5767, allocations: 96.92 kB / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5767, allocations: 0 / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5767, allocations: 0 / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5767, allocations: 0 / 0.5583 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.5769, allocations: 190 kB / 0.5585 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5769, allocations: 4 kB / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.5769, allocations: 7.984 kB / 0.5585 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5769, allocations: 0 / 0.5585 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5769, allocations: 3.953 kB / 0.5585 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5769, allocations: 7.984 kB / 0.5585 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5769, allocations: 0 / 0.5585 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.5771, allocations: 105.7 kB / 0.5586 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.5771, allocations: 96.39 kB / 0.5587 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.5771, allocations: 11.98 kB / 0.5587 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.5772, allocations: 11.89 kB / 0.5587 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.5772, allocations: 3.938 kB / 0.5587 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.5772, allocations: 4 kB / 0.5587 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.5774, allocations: 187.4 kB / 0.5589 GB, free: 0.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5774, allocations: 0 / 0.5589 GB, free: 0.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.5776, allocations: 31.23 kB / 0.559 GB, free: 0.8047 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.0007109/0.5783, allocations: 337.7 kB / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.5784, allocations: 37.31 kB / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5784, allocations: 0 / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.5785, allocations: 23.48 kB / 0.5593 GB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.5787, allocations: 23.92 kB / 0.5594 GB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.5791, allocations: 200.1 kB / 0.5595 GB, free: 268 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5793, allocations: 0.7195 MB / 0.5603 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.5794, allocations: 24.41 kB / 0.5603 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.5794, allocations: 15.44 kB / 0.5603 GB, free: 15.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5794, allocations: 0 / 0.5603 GB, free: 15.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004135/0.5836, allocations: 1.534 MB / 0.5618 GB, free: 13.97 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches