Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.416/1.416, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008131/0.0008134, allocations: 95.64 kB / 267.1 MB, free: 9.281 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.3968/0.3968, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.475e-05, allocations: 7.938 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.5319, allocations: 87.62 MB / 0.5584 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5322, allocations: 72.34 kB / 0.5585 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.5473, allocations: 5.617 MB / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5474, allocations: 0 / 0.5639 GB, free: 13.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5474, allocations: 11.28 kB / 0.5639 GB, free: 13.25 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.0004021/0.5478, allocations: 411 kB / 0.5643 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5479, allocations: 8.031 kB / 0.5643 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.5479, allocations: 15.25 kB / 0.5644 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5482, allocations: 229.5 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5482, allocations: 0 / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.5482, allocations: 7.188 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.5484, allocations: 56.3 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5484, allocations: 0 / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5484, allocations: 8.812 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5484, allocations: 3.984 kB / 0.5647 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.5485, allocations: 19.44 kB / 0.5647 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.5488, allocations: 304.1 kB / 0.565 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.549, allocations: 57.19 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.549, allocations: 27.78 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.549, allocations: 0 / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.5491, allocations: 66.03 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5492, allocations: 0 / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004293/0.5496, allocations: 162.9 kB / 0.5653 GB, free: 11.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5496, allocations: 55.41 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.5498, allocations: 225 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.5499, allocations: 25.7 kB / 0.5656 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.5499, allocations: 112.7 kB / 0.5657 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.55, allocations: 23.09 kB / 0.5657 GB, free: 11.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.55, allocations: 0 / 0.5657 GB, free: 11.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.55, allocations: 325.8 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.5501, allocations: 18.62 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.5502, allocations: 32.08 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.5502, allocations: 35.31 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5502, allocations: 0 / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001299/0.5503, allocations: 101.2 kB / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5504, allocations: 8 kB / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5504, allocations: 0 / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5504, allocations: 0 / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.5505, allocations: 17.11 kB / 0.5662 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5505, allocations: 7.953 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.5506, allocations: 3.938 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5506, allocations: 11.41 kB / 0.5662 GB, free: 10.92 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 () * 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.821e-05/0.5507, allocations: 108.9 kB / 0.5663 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.5507, allocations: 15.06 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.5509, allocations: 121.7 kB / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5509, allocations: 0 / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5509, allocations: 96 / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5509, allocations: 11.88 kB / 0.5665 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.5513, allocations: 429.4 kB / 0.5669 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5513, allocations: 0 / 0.5669 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.5514, allocations: 8 kB / 0.5669 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5514, allocations: 0 / 0.5669 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.5514, allocations: 7.062 kB / 0.5669 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5514, allocations: 4.141 kB / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5514, allocations: 7.938 kB / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.5516, allocations: 220 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.5517, allocations: 100.7 kB / 0.5672 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.5517, allocations: 7.953 kB / 0.5672 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.5518, allocations: 11.05 kB / 0.5672 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5518, allocations: 4 kB / 0.5672 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5518, allocations: 0 / 0.5672 GB, free: 9.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.552, allocations: 184.5 kB / 0.5674 GB, free: 9.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.552, allocations: 4 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.5522, allocations: 39.31 kB / 0.5674 GB, free: 9.684 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) * 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.0008881/0.5531, allocations: 416.5 kB / 0.5678 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.5532, allocations: 61.62 kB / 0.5679 GB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5533, allocations: 3.938 kB / 0.5679 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.5533, allocations: 30.94 kB / 0.5679 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.5536, allocations: 31.27 kB / 0.568 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.5539, allocations: 206.6 kB / 0.5682 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5541, allocations: 0.7235 MB / 0.5689 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.5542, allocations: 17.75 kB / 0.5689 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.5542, allocations: 19.42 kB / 0.5689 GB, free: 8.27 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5542, allocations: 0 / 0.5689 GB, free: 8.27 MB / 394.7 MB Notification: Performance of Templates: time 0.003846/0.5581, allocations: 1.788 MB / 0.5706 GB, free: 6.496 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches