Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, 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.633/1.633, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0008959/0.0008959, allocations: 78.64 kB / 261.7 MB, free: 1.621 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.2216/0.2216, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.784e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5414, allocations: 86.96 MB / 0.5509 GB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5417, allocations: 76.19 kB / 0.5509 GB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.5546, allocations: 5.503 MB / 0.5563 GB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5547, allocations: 4 kB / 0.5563 GB, free: 3.625 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5547, allocations: 7.938 kB / 0.5563 GB, free: 3.617 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.0003769/0.5551, allocations: 400.6 kB / 0.5567 GB, free: 3.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5551, allocations: 8.031 kB / 0.5567 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.5552, allocations: 15.81 kB / 0.5567 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.5555, allocations: 224.5 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5555, allocations: 0 / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.5555, allocations: 4 kB / 0.5569 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.583e-05/0.5556, allocations: 19.11 kB / 0.557 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.5557, allocations: 52.44 kB / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5557, allocations: 3.906 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5557, allocations: 0 / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5558, allocations: 7.984 kB / 0.557 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.5562, allocations: 273.8 kB / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.5563, allocations: 57.19 kB / 0.5573 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.5563, allocations: 20.17 kB / 0.5574 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.5563, allocations: 0 / 0.5574 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.5565, allocations: 62.27 kB / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5565, allocations: 0 / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.5571, allocations: 154.3 kB / 0.5576 GB, free: 2.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5571, allocations: 59.28 kB / 0.5576 GB, free: 2.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.5573, allocations: 208.2 kB / 0.5578 GB, free: 2.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5573, allocations: 25.7 kB / 0.5578 GB, free: 1.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.5574, allocations: 105.3 kB / 0.5579 GB, free: 1.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.5574, allocations: 27.14 kB / 0.558 GB, free: 1.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.5575, allocations: 0 / 0.558 GB, free: 1.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.5575, allocations: 325.8 kB / 0.5583 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.5576, allocations: 18.88 kB / 0.5583 GB, free: 1.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.5576, allocations: 28.53 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.5577, allocations: 26.8 kB / 0.5584 GB, free: 1.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5577, allocations: 0 / 0.5584 GB, free: 1.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001292/0.5578, allocations: 90.41 kB / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5578, allocations: 7.984 kB / 0.5584 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5578, allocations: 0 / 0.5584 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5579, allocations: 0 / 0.5584 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.558, allocations: 16 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.558, allocations: 0 / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.558, allocations: 7.984 kB / 0.5585 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.558, allocations: 11.17 kB / 0.5585 GB, free: 1.379 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.355e-05/0.5581, allocations: 110.3 kB / 0.5586 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.5581, allocations: 11.81 kB / 0.5586 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.5583, allocations: 120 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5583, allocations: 0 / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5584, allocations: 0 / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5584, allocations: 0 / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.5587, allocations: 392.3 kB / 0.5591 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5587, allocations: 3.938 kB / 0.5591 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.5587, allocations: 15.55 kB / 0.5591 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5588, allocations: 0 / 0.5591 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.5588, allocations: 4 kB / 0.5591 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5588, allocations: 0 / 0.5591 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5588, allocations: 288 / 0.5591 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.5589, allocations: 217.2 kB / 0.5593 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.559, allocations: 100.8 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.559, allocations: 4 kB / 0.5594 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.5591, allocations: 0 / 0.5594 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5592, allocations: 15.88 kB / 0.5594 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.5592, allocations: 7.562 kB / 0.5594 GB, free: 392 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.5593, allocations: 157.8 kB / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5593, allocations: 0 / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.5595, allocations: 39.92 kB / 0.5596 GB, free: 220 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.0008504/0.5604, allocations: 398.2 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.5606, allocations: 47.19 kB / 0.5601 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5606, allocations: 0 / 0.5601 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.5607, allocations: 35.67 kB / 0.5601 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5609, allocations: 15.98 kB / 0.5601 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.5613, allocations: 188.8 kB / 0.5603 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5617, allocations: 0.7196 MB / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.5617, allocations: 20.84 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.5618, allocations: 15.44 kB / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5618, allocations: 0 / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004336/0.5661, allocations: 1.685 MB / 0.5627 GB, free: 13.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches