Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.559/1.559, allocations: 205.3 MB / 213.7 MB, free: 1.656 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.0008754/0.000875, allocations: 90.42 kB / 261.7 MB, free: 1.613 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.2124/0.2124, allocations: 43.48 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.873e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 58.87 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.575, allocations: 87.17 MB / 0.5511 GB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5753, allocations: 77.62 kB / 0.5511 GB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.589, allocations: 5.637 MB / 0.5567 GB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5891, allocations: 0 / 0.5567 GB, free: 3.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.5891, allocations: 0 / 0.5567 GB, free: 3.539 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.0004047/0.5895, allocations: 388.8 kB / 0.557 GB, free: 3.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5895, allocations: 12.03 kB / 0.557 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.5896, allocations: 7.906 kB / 0.557 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5899, allocations: 211.5 kB / 0.5572 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5899, allocations: 0 / 0.5572 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.5899, allocations: 7.938 kB / 0.5573 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.985e-05/0.59, allocations: 11.5 kB / 0.5573 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.5901, allocations: 73.39 kB / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5901, allocations: 0 / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5902, allocations: 0 / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5902, allocations: 0 / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.5905, allocations: 262 kB / 0.5576 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5906, allocations: 53.38 kB / 0.5576 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.5907, allocations: 24.78 kB / 0.5577 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.5907, allocations: 7.984 kB / 0.5577 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.5908, allocations: 59.09 kB / 0.5577 GB, free: 2.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5908, allocations: 3.938 kB / 0.5577 GB, free: 2.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004467/0.5913, allocations: 152.1 kB / 0.5579 GB, free: 2.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5913, allocations: 84.73 kB / 0.5579 GB, free: 2.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5915, allocations: 133.9 kB / 0.5581 GB, free: 2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.5915, allocations: 29.7 kB / 0.5581 GB, free: 1.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.5915, allocations: 98.5 kB / 0.5582 GB, free: 1.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.5916, allocations: 22.84 kB / 0.5582 GB, free: 1.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.5916, allocations: 0 / 0.5582 GB, free: 1.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.5916, allocations: 322 kB / 0.5585 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.5917, allocations: 14.69 kB / 0.5585 GB, free: 1.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.5917, allocations: 40.88 kB / 0.5586 GB, free: 1.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.5918, allocations: 30.88 kB / 0.5586 GB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5918, allocations: 0 / 0.5586 GB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001243/0.5919, allocations: 91.27 kB / 0.5587 GB, free: 1.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5919, allocations: 4 kB / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5919, allocations: 0 / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5919, allocations: 3.953 kB / 0.5587 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.592, allocations: 24.11 kB / 0.5587 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.5921, allocations: 0 / 0.5587 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.5921, allocations: 3.938 kB / 0.5587 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.5921, allocations: 8.031 kB / 0.5587 GB, free: 1.344 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 6.39e-05/0.5922, allocations: 105 kB / 0.5588 GB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.5922, allocations: 7.906 kB / 0.5588 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.5924, allocations: 108.8 kB / 0.559 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5924, allocations: 0 / 0.559 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5924, allocations: 3.953 kB / 0.559 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5924, allocations: 0 / 0.559 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.5927, allocations: 375.9 kB / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5927, allocations: 0 / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.5928, allocations: 12 kB / 0.5593 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5928, allocations: 0 / 0.5593 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.5928, allocations: 3.953 kB / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5928, allocations: 4 kB / 0.5593 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5928, allocations: 0 / 0.5593 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.593, allocations: 213.4 kB / 0.5595 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.593, allocations: 89 kB / 0.5596 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.5931, allocations: 11.33 kB / 0.5596 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.5931, allocations: 8 kB / 0.5596 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.5932, allocations: 7.984 kB / 0.5596 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5932, allocations: 0 / 0.5596 GB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.724e-05/0.5933, allocations: 116.6 kB / 0.5598 GB, free: 296 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5933, allocations: 0 / 0.5598 GB, free: 296 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.00026/0.5935, allocations: 43.23 kB / 0.5598 GB, free: 256 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.0009334/0.5945, allocations: 428.2 kB / 0.5602 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5946, allocations: 55.42 kB / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5947, allocations: 0 / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.5947, allocations: 26.5 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.0002743/0.595, allocations: 23.8 kB / 0.5603 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.5954, allocations: 140.6 kB / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5957, allocations: 0.7001 MB / 0.5611 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.925e-05/0.5957, allocations: 20.55 kB / 0.5611 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.5958, allocations: 15.44 kB / 0.5612 GB, free: 14.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5958, allocations: 0 / 0.5612 GB, free: 14.89 MB / 378.7 MB Notification: Performance of Templates: time 0.004454/0.6003, allocations: 1.852 MB / 0.563 GB, free: 13.07 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches