Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000972/0.000972, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 242.1 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007297/0.0007296, allocations: 88.09 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2855/0.2855, allocations: 44.14 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 61.88 MB / 0.5107 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4266, allocations: 89.29 MB / 0.5979 GB, free: 5.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4268, allocations: 75.95 kB / 0.598 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.4419, allocations: 5.487 MB / 0.6034 GB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4419, allocations: 0 / 0.6034 GB, free: 224 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4419, allocations: 3.938 kB / 0.6034 GB, free: 220 kB / 410.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.0004867/0.4424, allocations: 419 kB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4424, allocations: 8.031 kB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.4425, allocations: 12.84 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.4428, allocations: 217 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4428, allocations: 8.375 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4428, allocations: 384 / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4429, allocations: 54.23 kB / 0.604 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.443, allocations: 4.188 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.443, allocations: 7.922 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.443, allocations: 0 / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.4431, allocations: 27.92 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.4434, allocations: 281 kB / 0.6043 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.4436, allocations: 66.61 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.4436, allocations: 20.84 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4437, allocations: 4 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.4438, allocations: 71.33 kB / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4438, allocations: 4 kB / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005172/0.4443, allocations: 181.2 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.4444, allocations: 51.41 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.4445, allocations: 184 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4446, allocations: 25.7 kB / 0.6049 GB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.4446, allocations: 100.1 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4447, allocations: 23.66 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.4447, allocations: 4 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4448, allocations: 334.7 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.4449, allocations: 23.98 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.4449, allocations: 37.7 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.445, allocations: 57.83 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.445, allocations: 0 / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.4452, allocations: 113.4 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4452, allocations: 8.031 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4453, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4453, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.4454, allocations: 16 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4454, allocations: 3.984 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.4454, allocations: 4 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4454, allocations: 4 kB / 0.6056 GB, free: 13.66 MB / 426.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 () * Number of clocked 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 9.111e-05/0.4455, allocations: 127.6 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.4456, allocations: 19.88 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.4458, allocations: 126.4 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4458, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4458, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4458, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.4463, allocations: 411.2 kB / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4463, allocations: 0 / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.4463, allocations: 23.95 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4463, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4463, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4463, allocations: 4 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4464, allocations: 3.938 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4466, allocations: 216.4 kB / 0.6065 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.4466, allocations: 89.09 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4467, allocations: 15.94 kB / 0.6066 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.4467, allocations: 384 / 0.6066 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.4468, allocations: 11.92 kB / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4468, allocations: 8 kB / 0.6066 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.4469, allocations: 148 kB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4469, allocations: 0 / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.4472, allocations: 31.94 kB / 0.6068 GB, free: 12.33 MB / 426.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) * Number of clocked states: 0 () * 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.0009107/0.4481, allocations: 481.5 kB / 0.6073 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.4483, allocations: 55.92 kB / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4483, allocations: 0 / 0.6073 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.4483, allocations: 35.92 kB / 0.6074 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4487, allocations: 36.09 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.4491, allocations: 234.3 kB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4493, allocations: 0.7083 MB / 0.6083 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.4494, allocations: 16.84 kB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.4494, allocations: 19.44 kB / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4494, allocations: 0 / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.003879/0.4533, allocations: 1.703 MB / 0.61 GB, free: 9.199 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches