Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.0009431, allocations: 86.22 kB / 261.7 MB, free: 1.684 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.194/0.194, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.054e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5709, allocations: 87.18 MB / 0.5511 GB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5712, allocations: 75.03 kB / 0.5511 GB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.5845, allocations: 5.633 MB / 0.5566 GB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5845, allocations: 0 / 0.5566 GB, free: 3.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.5845, allocations: 0 / 0.5566 GB, free: 3.547 MB / 362.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.000373/0.5849, allocations: 389.9 kB / 0.557 GB, free: 3.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.585, allocations: 12.03 kB / 0.557 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.585, allocations: 7.906 kB / 0.557 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.5853, allocations: 214 kB / 0.5572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5853, allocations: 0 / 0.5572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5853, allocations: 4 kB / 0.5572 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.529e-05/0.5854, allocations: 15.92 kB / 0.5573 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5855, allocations: 71.2 kB / 0.5573 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5855, allocations: 0 / 0.5573 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5856, allocations: 0 / 0.5573 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5856, allocations: 0 / 0.5573 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.5859, allocations: 260.7 kB / 0.5576 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.586, allocations: 54.94 kB / 0.5576 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.586, allocations: 24.48 kB / 0.5577 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.586, allocations: 4 kB / 0.5577 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.5862, allocations: 67.19 kB / 0.5577 GB, free: 2.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.5862, allocations: 3.938 kB / 0.5577 GB, free: 2.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004091/0.5866, allocations: 143.6 kB / 0.5579 GB, free: 2.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5866, allocations: 81.11 kB / 0.5579 GB, free: 2.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5868, allocations: 138.7 kB / 0.5581 GB, free: 2.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.5868, allocations: 37.62 kB / 0.5581 GB, free: 1.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.5868, allocations: 91.83 kB / 0.5582 GB, free: 1.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.5868, allocations: 27.52 kB / 0.5582 GB, free: 1.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.5869, allocations: 0 / 0.5582 GB, free: 1.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.5869, allocations: 322.6 kB / 0.5585 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.587, allocations: 14.88 kB / 0.5585 GB, free: 1.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.587, allocations: 38.14 kB / 0.5586 GB, free: 1.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.587, allocations: 31.52 kB / 0.5586 GB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.587, allocations: 0 / 0.5586 GB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001121/0.5872, allocations: 92.47 kB / 0.5587 GB, free: 1.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5872, allocations: 4 kB / 0.5587 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5872, allocations: 0 / 0.5587 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5872, allocations: 3.953 kB / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.5873, allocations: 23.92 kB / 0.5587 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5873, allocations: 0 / 0.5587 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.5874, allocations: 0 / 0.5587 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5874, allocations: 8.031 kB / 0.5587 GB, free: 1.352 MB / 362.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 5.639e-05/0.5874, allocations: 105 kB / 0.5588 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.5875, allocations: 11.89 kB / 0.5588 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.5877, allocations: 105.4 kB / 0.5589 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5877, allocations: 0 / 0.5589 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5877, allocations: 3.953 kB / 0.559 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5877, allocations: 0 / 0.559 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.588, allocations: 377.5 kB / 0.5593 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.588, allocations: 0 / 0.5593 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.5881, allocations: 12 kB / 0.5593 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5881, allocations: 0 / 0.5593 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5881, allocations: 3.953 kB / 0.5593 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5881, allocations: 7.984 kB / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5881, allocations: 0 / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5882, allocations: 213.4 kB / 0.5595 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.5883, allocations: 88.95 kB / 0.5596 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.5883, allocations: 7.891 kB / 0.5596 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.5884, allocations: 7.984 kB / 0.5596 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.5884, allocations: 4 kB / 0.5596 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5885, allocations: 4.125 kB / 0.5596 GB, free: 408 kB / 362.7 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.5885, allocations: 118.6 kB / 0.5598 GB, free: 300 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5885, allocations: 0 / 0.5598 GB, free: 300 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.5888, allocations: 39.88 kB / 0.5598 GB, free: 264 kB / 362.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.0009689/0.5898, allocations: 433.6 kB / 0.5602 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.5899, allocations: 51.25 kB / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5899, allocations: 0 / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.59, allocations: 27.31 kB / 0.5603 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5903, allocations: 31.59 kB / 0.5603 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.5906, allocations: 133.5 kB / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.5909, allocations: 0.7039 MB / 0.5611 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.591, allocations: 20.55 kB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.591, allocations: 19.42 kB / 0.5612 GB, free: 14.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5911, allocations: 0 / 0.5612 GB, free: 14.89 MB / 378.7 MB Notification: Performance of Templates: time 0.004673/0.5957, allocations: 1.839 MB / 0.563 GB, free: 13.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches