Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009511/0.0009511, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.271/1.271, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008818/0.0008819, allocations: 96.98 kB / 267.1 MB, free: 9.273 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.3219/0.3219, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.521e-05, allocations: 11.98 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4537, allocations: 87.61 MB / 0.5584 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4539, allocations: 76.78 kB / 0.5585 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.4672, allocations: 5.687 MB / 0.564 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4672, allocations: 0 / 0.564 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4673, allocations: 4 kB / 0.564 GB, free: 13.18 MB / 394.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.0003501/0.4676, allocations: 413.9 kB / 0.5644 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4677, allocations: 12.03 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.4677, allocations: 19.25 kB / 0.5644 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.468, allocations: 224.9 kB / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.468, allocations: 0 / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.468, allocations: 4 kB / 0.5647 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.4682, allocations: 60.23 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4682, allocations: 0 / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4682, allocations: 1.375 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4682, allocations: 0 / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.4683, allocations: 18.69 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.4686, allocations: 314.8 kB / 0.565 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.4687, allocations: 55.69 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.4687, allocations: 20.47 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4687, allocations: 0 / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.946e-05/0.4688, allocations: 73.34 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4688, allocations: 0 / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003453/0.4692, allocations: 173.6 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4692, allocations: 55.41 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4694, allocations: 230.4 kB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.4694, allocations: 32.33 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.4694, allocations: 107.1 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4695, allocations: 31.06 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4695, allocations: 7.25 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.4695, allocations: 329 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.4696, allocations: 19.25 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.4696, allocations: 34.98 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.4697, allocations: 23.25 kB / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4697, allocations: 0 / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.4698, allocations: 100.5 kB / 0.5663 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4698, allocations: 8.031 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4698, allocations: 4 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4698, allocations: 0 / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.4699, allocations: 15.94 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4699, allocations: 3.953 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.47, allocations: 11.3 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.47, allocations: 4 kB / 0.5663 GB, free: 10.83 MB / 394.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 (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 4.497e-05/0.47, allocations: 113.2 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.4701, allocations: 15.81 kB / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4702, allocations: 122.5 kB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4702, allocations: 0 / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4703, allocations: 1.312 kB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4703, allocations: 3.953 kB / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.4706, allocations: 438.6 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4706, allocations: 0 / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.4706, allocations: 8 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4707, allocations: 4.031 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4707, allocations: 4.188 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4707, allocations: 7.953 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4707, allocations: 7.922 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.4708, allocations: 215.5 kB / 0.5672 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.4709, allocations: 108 kB / 0.5673 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.4709, allocations: 15.94 kB / 0.5673 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.471, allocations: 0 / 0.5673 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.471, allocations: 7.438 kB / 0.5673 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.4711, allocations: 7.984 kB / 0.5673 GB, free: 9.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4712, allocations: 198 kB / 0.5675 GB, free: 9.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4712, allocations: 0 / 0.5675 GB, free: 9.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.4714, allocations: 35.31 kB / 0.5676 GB, free: 9.574 MB / 394.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) * 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.0007717/0.4722, allocations: 421.2 kB / 0.568 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4723, allocations: 61.36 kB / 0.568 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4723, allocations: 0 / 0.568 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.4724, allocations: 30.81 kB / 0.5681 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4726, allocations: 23.36 kB / 0.5681 GB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.4729, allocations: 225.1 kB / 0.5683 GB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.473, allocations: 0.7199 MB / 0.569 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.4731, allocations: 24.16 kB / 0.569 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.4731, allocations: 19.44 kB / 0.569 GB, free: 8.141 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4731, allocations: 0 / 0.569 GB, free: 8.141 MB / 394.7 MB Notification: Performance of Templates: time 0.003278/0.4764, allocations: 1.842 MB / 0.5708 GB, free: 6.32 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches