Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.529/1.529, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008537/0.0008533, allocations: 78.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.56 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 58.86 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.5481, allocations: 87.71 MB / 0.5644 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5484, allocations: 77.22 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.5631, allocations: 5.721 MB / 0.5701 GB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5632, allocations: 0 / 0.5701 GB, free: 7.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.5632, allocations: 4 kB / 0.5701 GB, free: 7.148 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005474/0.5637, allocations: 461.3 kB / 0.5705 GB, free: 6.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5638, allocations: 12.03 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.5638, allocations: 11.81 kB / 0.5706 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.5642, allocations: 232.8 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.5642, allocations: 4 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5643, allocations: 7.984 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5644, allocations: 59.67 kB / 0.5708 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5644, allocations: 7.922 kB / 0.5708 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5645, allocations: 8 kB / 0.5709 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5645, allocations: 0 / 0.5709 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.5646, allocations: 19.11 kB / 0.5709 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.565, allocations: 305.1 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.5652, allocations: 61.8 kB / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5652, allocations: 8 kB / 0.5712 GB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.5654, allocations: 66.77 kB / 0.5713 GB, free: 5.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5654, allocations: 0 / 0.5713 GB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005425/0.5659, allocations: 185.5 kB / 0.5715 GB, free: 5.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.566, allocations: 63.34 kB / 0.5715 GB, free: 5.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5662, allocations: 247.3 kB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5663, allocations: 29.7 kB / 0.5718 GB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.5663, allocations: 113.4 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5664, allocations: 23.14 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.5664, allocations: 3.438 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5665, allocations: 329.9 kB / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.5666, allocations: 15.88 kB / 0.5723 GB, free: 4.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.5666, allocations: 44.08 kB / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.5667, allocations: 30.42 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5667, allocations: 0 / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.5669, allocations: 99.25 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5669, allocations: 7.984 kB / 0.5724 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5669, allocations: 4 kB / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5669, allocations: 0 / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.567, allocations: 15.94 kB / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.5671, allocations: 0 / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.5671, allocations: 11.94 kB / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5671, allocations: 8.031 kB / 0.5725 GB, free: 4.707 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001114/0.5672, allocations: 144.4 kB / 0.5726 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.5673, allocations: 15.81 kB / 0.5726 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.5676, allocations: 123.4 kB / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5676, allocations: 4.094 kB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5676, allocations: 3.938 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5676, allocations: 0 / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5681, allocations: 443.3 kB / 0.5732 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5681, allocations: 384 / 0.5732 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.5682, allocations: 12.61 kB / 0.5732 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.5682, allocations: 4 kB / 0.5732 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5682, allocations: 4.938 kB / 0.5732 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5682, allocations: 7.891 kB / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5682, allocations: 0 / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5685, allocations: 232.9 kB / 0.5734 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.5686, allocations: 104 kB / 0.5735 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.5686, allocations: 3.953 kB / 0.5735 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.5687, allocations: 10.55 kB / 0.5735 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.5688, allocations: 4 kB / 0.5735 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.5688, allocations: 7.984 kB / 0.5735 GB, free: 3.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.569, allocations: 207 kB / 0.5737 GB, free: 3.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.569, allocations: 4 kB / 0.5737 GB, free: 3.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.5692, allocations: 31.5 kB / 0.5738 GB, free: 3.398 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001002/0.5702, allocations: 472 kB / 0.5742 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.5704, allocations: 69.91 kB / 0.5743 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5704, allocations: 3.938 kB / 0.5743 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.5705, allocations: 34.67 kB / 0.5743 GB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5708, allocations: 22.8 kB / 0.5744 GB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.5713, allocations: 328.7 kB / 0.5747 GB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5717, allocations: 0.7384 MB / 0.5754 GB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.5717, allocations: 20.84 kB / 0.5754 GB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.5718, allocations: 19.42 kB / 0.5754 GB, free: 1.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5718, allocations: 0 / 0.5754 GB, free: 1.773 MB / 378.7 MB Notification: Performance of Templates: time 0.00444/0.5762, allocations: 1.836 MB / 0.5772 GB, free: 15.95 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches