Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 172.8 kB / 8 MB, free: 1.074 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.532/1.532, allocations: 205.3 MB / 213.7 MB, free: 1.66 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.0008263/0.0008261, allocations: 90.16 kB / 261.7 MB, free: 1.609 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.2144/0.2144, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.604e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5614, allocations: 86.95 MB / 0.5509 GB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5616, allocations: 73.72 kB / 0.5509 GB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.5753, allocations: 5.625 MB / 0.5564 GB, free: 3.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5753, allocations: 0 / 0.5564 GB, free: 3.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5754, allocations: 4 kB / 0.5564 GB, free: 3.496 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.0004498/0.5758, allocations: 410 kB / 0.5568 GB, free: 3.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5759, allocations: 8.031 kB / 0.5568 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.5759, allocations: 15.89 kB / 0.5568 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.5763, allocations: 229.9 kB / 0.5571 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.5763, allocations: 3.938 kB / 0.5571 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.5763, allocations: 3.984 kB / 0.5571 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.537e-05/0.5764, allocations: 19.88 kB / 0.5571 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.308e-05/0.5765, allocations: 49.61 kB / 0.5571 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5765, allocations: 4 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5766, allocations: 4 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5766, allocations: 0 / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.5769, allocations: 291.9 kB / 0.5574 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5771, allocations: 53.81 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.5771, allocations: 20.8 kB / 0.5575 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5771, allocations: 0 / 0.5575 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.5772, allocations: 63.2 kB / 0.5575 GB, free: 2.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5772, allocations: 0 / 0.5575 GB, free: 2.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004354/0.5777, allocations: 155.8 kB / 0.5577 GB, free: 2.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.5777, allocations: 55.41 kB / 0.5578 GB, free: 2.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.578, allocations: 232.2 kB / 0.558 GB, free: 1.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.578, allocations: 29.7 kB / 0.558 GB, free: 1.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.578, allocations: 114.9 kB / 0.5581 GB, free: 1.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.5781, allocations: 27.52 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.5781, allocations: 0 / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.5781, allocations: 322.7 kB / 0.5584 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.5782, allocations: 19.69 kB / 0.5585 GB, free: 1.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.5782, allocations: 33.52 kB / 0.5585 GB, free: 1.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.5783, allocations: 19.81 kB / 0.5585 GB, free: 1.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.5783, allocations: 4 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001267/0.5784, allocations: 93.17 kB / 0.5586 GB, free: 1.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5784, allocations: 8 kB / 0.5586 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5784, allocations: 0 / 0.5586 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5785, allocations: 0 / 0.5586 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.5786, allocations: 19.92 kB / 0.5586 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5786, allocations: 4 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.5786, allocations: 0 / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.5786, allocations: 11.64 kB / 0.5586 GB, free: 1.211 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.78e-05/0.5787, allocations: 109 kB / 0.5588 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.5787, allocations: 11.81 kB / 0.5588 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.579, allocations: 118.4 kB / 0.5589 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.579, allocations: 3.938 kB / 0.5589 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.579, allocations: 4 kB / 0.5589 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.579, allocations: 0 / 0.5589 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.5793, allocations: 405.7 kB / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5794, allocations: 0 / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.5794, allocations: 11.98 kB / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5794, allocations: 0 / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5794, allocations: 4 kB / 0.5593 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5794, allocations: 288 / 0.5593 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5794, allocations: 0 / 0.5593 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.5796, allocations: 229.1 kB / 0.5595 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.5797, allocations: 100.8 kB / 0.5596 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.5797, allocations: 8 kB / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.5798, allocations: 0 / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.5799, allocations: 11.94 kB / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5799, allocations: 4 kB / 0.5596 GB, free: 200 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.58, allocations: 190.8 kB / 0.5598 GB, free: 44 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.58, allocations: 0 / 0.5598 GB, free: 44 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.5803, allocations: 39.8 kB / 0.5598 GB, free: 8 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.0009664/0.5813, allocations: 400.3 kB / 0.5602 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.5814, allocations: 51.31 kB / 0.5603 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5814, allocations: 0 / 0.5603 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.5815, allocations: 27.61 kB / 0.5603 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.5818, allocations: 19.92 kB / 0.5603 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.5823, allocations: 224.6 kB / 0.5605 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.5826, allocations: 0.7284 MB / 0.5612 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.437e-05/0.5827, allocations: 20.84 kB / 0.5613 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.5827, allocations: 19.44 kB / 0.5613 GB, free: 14.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5827, allocations: 0 / 0.5613 GB, free: 14.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004627/0.5873, allocations: 1.736 MB / 0.563 GB, free: 12.88 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches