Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.419/1.419, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007844/0.0007843, allocations: 92.67 kB / 271.9 MB, free: 8.254 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.3903/0.3903, allocations: 43.57 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004059, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5672, allocations: 87.76 MB / 0.5656 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5675, allocations: 73.22 kB / 0.5657 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.5829, allocations: 5.565 MB / 0.5711 GB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5829, allocations: 0 / 0.5711 GB, free: 9.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5829, allocations: 0 / 0.5711 GB, free: 9.051 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.0006339/0.5836, allocations: 437.8 kB / 0.5716 GB, free: 8.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.5836, allocations: 12.02 kB / 0.5716 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.5837, allocations: 12.84 kB / 0.5716 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.5841, allocations: 228 kB / 0.5718 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.5841, allocations: 5.25 kB / 0.5718 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.5842, allocations: 384 / 0.5718 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5843, allocations: 54.23 kB / 0.5719 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5843, allocations: 4.125 kB / 0.5719 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5844, allocations: 7.938 kB / 0.5719 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.5844, allocations: 0 / 0.5719 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.5845, allocations: 31.91 kB / 0.5719 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.5849, allocations: 299.6 kB / 0.5722 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.5851, allocations: 62.61 kB / 0.5723 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.5852, allocations: 24.78 kB / 0.5723 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.5852, allocations: 4 kB / 0.5723 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.5854, allocations: 67.39 kB / 0.5723 GB, free: 7.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5854, allocations: 0 / 0.5723 GB, free: 7.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006149/0.586, allocations: 181.1 kB / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.586, allocations: 51.41 kB / 0.5726 GB, free: 7.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.5863, allocations: 222.7 kB / 0.5728 GB, free: 7.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.5863, allocations: 29.7 kB / 0.5728 GB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.5864, allocations: 104.1 kB / 0.5729 GB, free: 7.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.5864, allocations: 23.66 kB / 0.5729 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.5865, allocations: 0 / 0.5729 GB, free: 7.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5866, allocations: 334.8 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.5867, allocations: 19.98 kB / 0.5733 GB, free: 6.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.5868, allocations: 33.7 kB / 0.5733 GB, free: 6.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.5869, allocations: 73.69 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5869, allocations: 0 / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.5871, allocations: 113.4 kB / 0.5735 GB, free: 6.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5872, allocations: 4 kB / 0.5735 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5872, allocations: 0 / 0.5735 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5872, allocations: 4 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.5873, allocations: 12 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5873, allocations: 0.75 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.5874, allocations: 7.984 kB / 0.5735 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5874, allocations: 4 kB / 0.5735 GB, free: 6.402 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.0001274/0.5875, allocations: 133.8 kB / 0.5736 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.5875, allocations: 19.8 kB / 0.5737 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.5878, allocations: 123.1 kB / 0.5738 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5879, allocations: 4 kB / 0.5738 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5879, allocations: 0 / 0.5738 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5879, allocations: 0 / 0.5738 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.5884, allocations: 427.2 kB / 0.5742 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5885, allocations: 4.031 kB / 0.5742 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.5885, allocations: 11.94 kB / 0.5742 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5885, allocations: 3.938 kB / 0.5742 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.5885, allocations: 7.984 kB / 0.5742 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.5885, allocations: 384 / 0.5742 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5885, allocations: 3.938 kB / 0.5742 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5888, allocations: 208.1 kB / 0.5744 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.5889, allocations: 101 kB / 0.5745 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5889, allocations: 8 kB / 0.5745 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.589, allocations: 4 kB / 0.5745 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.589, allocations: 11.92 kB / 0.5745 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5891, allocations: 4 kB / 0.5745 GB, free: 5.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.5892, allocations: 174.4 kB / 0.5747 GB, free: 5.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5892, allocations: 0 / 0.5747 GB, free: 5.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.5895, allocations: 35.94 kB / 0.5747 GB, free: 5.035 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.001086/0.5906, allocations: 467 kB / 0.5752 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.5908, allocations: 71.83 kB / 0.5752 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5908, allocations: 0 / 0.5752 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.5909, allocations: 39.98 kB / 0.5753 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.5912, allocations: 26.94 kB / 0.5753 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.5918, allocations: 314.5 kB / 0.5756 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.5921, allocations: 0.7082 MB / 0.5763 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.5922, allocations: 19.44 kB / 0.5763 GB, free: 3.457 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5922, allocations: 4 kB / 0.5763 GB, free: 3.453 MB / 394.7 MB Notification: Performance of Templates: time 0.003887/0.5961, allocations: 2.013 MB / 0.5783 GB, free: 1.445 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches