Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001105/0.001105, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.573/0.573, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004945, allocations: 16 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5747, allocations: 87.72 MB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.575, allocations: 71.97 kB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.6001, allocations: 5.709 MB / 0.57 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6002, allocations: 0 / 0.57 GB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.6002, allocations: 0 / 0.57 GB, free: 9.23 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.0007488/0.601, allocations: 449.6 kB / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6011, allocations: 12.02 kB / 0.5705 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.6011, allocations: 20.25 kB / 0.5705 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.6016, allocations: 224.9 kB / 0.5707 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6016, allocations: 4 kB / 0.5707 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6016, allocations: 0 / 0.5707 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.6018, allocations: 57.67 kB / 0.5708 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6019, allocations: 4 kB / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6019, allocations: 0 / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.6019, allocations: 1.031 kB / 0.5708 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.602, allocations: 31.86 kB / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.6026, allocations: 316.7 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.6028, allocations: 58.69 kB / 0.5712 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6029, allocations: 4 kB / 0.5712 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.6031, allocations: 71.44 kB / 0.5712 GB, free: 7.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.6031, allocations: 0 / 0.5712 GB, free: 7.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007998/0.6039, allocations: 181 kB / 0.5714 GB, free: 7.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.604, allocations: 59.36 kB / 0.5715 GB, free: 7.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.6044, allocations: 237.7 kB / 0.5717 GB, free: 7.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.6044, allocations: 29.7 kB / 0.5717 GB, free: 7.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.6045, allocations: 170.6 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.6046, allocations: 23.66 kB / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6046, allocations: 0 / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6048, allocations: 318.8 kB / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.233e-05/0.6049, allocations: 16 kB / 0.5722 GB, free: 6.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.605, allocations: 37.7 kB / 0.5723 GB, free: 6.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.6051, allocations: 31.98 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6051, allocations: 0 / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002891/0.6054, allocations: 97.59 kB / 0.5724 GB, free: 6.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6055, allocations: 4 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6055, allocations: 0.75 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6055, allocations: 0 / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.6056, allocations: 16 kB / 0.5724 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6057, allocations: 3.938 kB / 0.5724 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.6058, allocations: 19.92 kB / 0.5724 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6058, allocations: 4.031 kB / 0.5724 GB, free: 6.57 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 () * 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.0001562/0.606, allocations: 133.8 kB / 0.5726 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.606, allocations: 15.81 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.6064, allocations: 123.1 kB / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6064, allocations: 4 kB / 0.5727 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6064, allocations: 0 / 0.5727 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6065, allocations: 0 / 0.5727 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.6072, allocations: 443.3 kB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6073, allocations: 4 kB / 0.5731 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.6073, allocations: 8 kB / 0.5731 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.6074, allocations: 3.984 kB / 0.5731 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6074, allocations: 7.938 kB / 0.5731 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6074, allocations: 7.953 kB / 0.5731 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6074, allocations: 0.9531 kB / 0.5732 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.6078, allocations: 225.9 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6079, allocations: 104.9 kB / 0.5735 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.608, allocations: 3.953 kB / 0.5735 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6081, allocations: 4 kB / 0.5735 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.6082, allocations: 11.98 kB / 0.5735 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6082, allocations: 4 kB / 0.5735 GB, free: 5.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.6086, allocations: 208.1 kB / 0.5737 GB, free: 5.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6086, allocations: 0 / 0.5737 GB, free: 5.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.609, allocations: 39.94 kB / 0.5737 GB, free: 5.133 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) * 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.001386/0.6104, allocations: 483.6 kB / 0.5742 GB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.6107, allocations: 59.92 kB / 0.5742 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6107, allocations: 0 / 0.5742 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.6108, allocations: 31.98 kB / 0.5743 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.6112, allocations: 25.39 kB / 0.5743 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.612, allocations: 350.9 kB / 0.5746 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.6125, allocations: 0.7238 MB / 0.5753 GB, free: 3.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.6126, allocations: 19.44 kB / 0.5754 GB, free: 3.5 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6126, allocations: 0 / 0.5754 GB, free: 3.5 MB / 394.7 MB Notification: Performance of Templates: time 0.005918/0.6185, allocations: 2.134 MB / 0.5774 GB, free: 1.375 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches