Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009655/0.0009659, allocations: 177.9 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009396, allocations: 98.89 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3786/0.3786, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3275, allocations: 61.91 MB / 0.5096 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4388, allocations: 89.34 MB / 0.5968 GB, free: 5.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.4392, allocations: 83.92 kB / 0.5969 GB, free: 5.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.457, allocations: 6.248 MB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4571, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4571, allocations: 4 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006297/0.4578, allocations: 434.7 kB / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.4578, allocations: 12.56 kB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.4579, allocations: 11.81 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.4582, allocations: 224.2 kB / 0.6037 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4583, allocations: 3.953 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4583, allocations: 4 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4585, allocations: 77.59 kB / 0.6037 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4585, allocations: 7.906 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4585, allocations: 4 kB / 0.6038 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4585, allocations: 3.984 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4587, allocations: 47.95 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.4592, allocations: 332.7 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4595, allocations: 98.52 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4595, allocations: 0 / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4597, allocations: 87.62 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.4597, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008787/0.4606, allocations: 305 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4606, allocations: 51.41 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.4608, allocations: 186.5 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4609, allocations: 25.7 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.4609, allocations: 108.3 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.461, allocations: 43.36 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.461, allocations: 7.938 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4612, allocations: 326.8 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.4613, allocations: 39.98 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.4614, allocations: 63.66 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/0.4615, allocations: 49.98 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4615, allocations: 0 / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000256/0.4617, allocations: 157.5 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4618, allocations: 4 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4618, allocations: 0 / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4618, allocations: 7.938 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.4619, allocations: 27.98 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4619, allocations: 0 / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.462, allocations: 12.03 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.462, allocations: 4 kB / 0.6057 GB, free: 12.51 MB / 426.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 (15): * Single equations (assignments): 15 * 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.0001043/0.4621, allocations: 134.6 kB / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.4621, allocations: 19.81 kB / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.4625, allocations: 191.1 kB / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4625, allocations: 0 / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4625, allocations: 0 / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4625, allocations: 11.97 kB / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.4632, allocations: 0.5129 MB / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4632, allocations: 0 / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.4633, allocations: 27.98 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4633, allocations: 3.938 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4633, allocations: 4 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4633, allocations: 4.062 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4633, allocations: 7.953 kB / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.4636, allocations: 298.6 kB / 0.6068 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.4637, allocations: 100.9 kB / 0.6069 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4638, allocations: 12 kB / 0.6069 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.4638, allocations: 0 / 0.6069 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4639, allocations: 15.98 kB / 0.6069 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4639, allocations: 4 kB / 0.607 GB, free: 11.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.464, allocations: 144.9 kB / 0.6071 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.464, allocations: 0 / 0.6071 GB, free: 10.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.4643, allocations: 51.92 kB / 0.6071 GB, free: 10.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001163/0.4655, allocations: 0.5246 MB / 0.6077 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.4658, allocations: 111.9 kB / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4658, allocations: 0 / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4659, allocations: 59.91 kB / 0.6078 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.4662, allocations: 31.92 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.4667, allocations: 315.9 kB / 0.6081 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.467, allocations: 0.7165 MB / 0.6088 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.121e-05/0.4671, allocations: 29.41 kB / 0.6089 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.4671, allocations: 19.42 kB / 0.6089 GB, free: 9.207 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4671, allocations: 4 kB / 0.6089 GB, free: 9.203 MB / 426.7 MB Notification: Performance of Templates: time 0.004563/0.4717, allocations: 2.153 MB / 0.611 GB, free: 7.078 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches