Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, 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.592/1.592, 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.0008431/0.0008431, allocations: 92.03 kB / 261.7 MB, free: 1.68 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.2101/0.2101, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.11e-05, allocations: 8 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 58.86 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5738, allocations: 86.99 MB / 0.5509 GB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.5741, allocations: 78.7 kB / 0.551 GB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0124/0.5865, allocations: 5.522 MB / 0.5564 GB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5865, allocations: 0 / 0.5564 GB, free: 3.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5866, allocations: 8 kB / 0.5564 GB, free: 3.742 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004116/0.587, allocations: 428.7 kB / 0.5568 GB, free: 3.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.587, allocations: 8.031 kB / 0.5568 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.5871, allocations: 16.56 kB / 0.5568 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.5874, allocations: 249.1 kB / 0.557 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5874, allocations: 7.984 kB / 0.5571 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.5874, allocations: 4 kB / 0.5571 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.63e-05/0.5875, allocations: 33.61 kB / 0.5571 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.5877, allocations: 88.78 kB / 0.5572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5877, allocations: 3.938 kB / 0.5572 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5877, allocations: 0 / 0.5572 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5877, allocations: 7.938 kB / 0.5572 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.5879, allocations: 193.5 kB / 0.5574 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.588, allocations: 89.91 kB / 0.5575 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.5881, allocations: 31.41 kB / 0.5575 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.5881, allocations: 12.08 kB / 0.5575 GB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.5883, allocations: 100.7 kB / 0.5576 GB, free: 2.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.5883, allocations: 0 / 0.5576 GB, free: 2.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002467/0.5885, allocations: 133.6 kB / 0.5577 GB, free: 2.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.5886, allocations: 128.5 kB / 0.5578 GB, free: 2.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5887, allocations: 195.6 kB / 0.558 GB, free: 1.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.5887, allocations: 33.7 kB / 0.5581 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.5888, allocations: 110.9 kB / 0.5582 GB, free: 1.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.5888, allocations: 26.97 kB / 0.5582 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.5888, allocations: 0 / 0.5582 GB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.5889, allocations: 329.9 kB / 0.5585 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.5889, allocations: 21.56 kB / 0.5585 GB, free: 1.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.589, allocations: 66.89 kB / 0.5586 GB, free: 1.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.589, allocations: 33.81 kB / 0.5586 GB, free: 1.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.5891, allocations: 4 kB / 0.5586 GB, free: 1.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001453/0.5892, allocations: 117.2 kB / 0.5587 GB, free: 1.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5892, allocations: 4 kB / 0.5587 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5892, allocations: 4 kB / 0.5587 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5893, allocations: 0 / 0.5587 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5894, allocations: 28.08 kB / 0.5588 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5894, allocations: 0 / 0.5588 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.5895, allocations: 7.984 kB / 0.5588 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.5895, allocations: 7 kB / 0.5588 GB, free: 1.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.915e-05/0.5895, allocations: 116.9 kB / 0.5589 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.5896, allocations: 19.72 kB / 0.5589 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.5898, allocations: 143 kB / 0.5591 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5898, allocations: 8 kB / 0.5591 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5898, allocations: 384 / 0.5591 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5898, allocations: 7.922 kB / 0.5591 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.59, allocations: 198.1 kB / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.59, allocations: 0 / 0.5593 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.59, allocations: 15.98 kB / 0.5593 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.59, allocations: 3.953 kB / 0.5593 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.59, allocations: 3.938 kB / 0.5593 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.59, allocations: 4 kB / 0.5593 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5901, allocations: 0 / 0.5593 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.5902, allocations: 181.4 kB / 0.5595 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.5903, allocations: 104.1 kB / 0.5596 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.5903, allocations: 2.125 kB / 0.5596 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.5904, allocations: 11.98 kB / 0.5596 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.5905, allocations: 7.984 kB / 0.5596 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5905, allocations: 6.312 kB / 0.5596 GB, free: 416 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.946e-05/0.5906, allocations: 157.8 kB / 0.5597 GB, free: 288 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5906, allocations: 0 / 0.5597 GB, free: 288 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.5908, allocations: 47.86 kB / 0.5598 GB, free: 240 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007944/0.5916, allocations: 385.4 kB / 0.5601 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.5918, allocations: 71.31 kB / 0.5602 GB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5918, allocations: 0 / 0.5602 GB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.5919, allocations: 42.31 kB / 0.5603 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5922, allocations: 54.48 kB / 0.5603 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.5925, allocations: 194.8 kB / 0.5605 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5928, allocations: 0.7272 MB / 0.5612 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.5929, allocations: 25.81 kB / 0.5612 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.593, allocations: 31.36 kB / 0.5613 GB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.593, allocations: 0 / 0.5613 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004997/0.598, allocations: 2.439 MB / 0.5636 GB, free: 12.37 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches