Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 183 kB / 18.09 MB, free: 3.73 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.219/1.219, allocations: 223.3 MB / 242.1 MB, free: 9.91 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.0007332/0.0007333, allocations: 95.17 kB / 293.3 MB, free: 10.59 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.2813/0.2813, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 15.98 kB / 461.1 MB, free: 1.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 61.88 MB / 0.5107 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.4247, allocations: 89.31 MB / 0.598 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.425, allocations: 87.94 kB / 0.598 GB, free: 5.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.4395, allocations: 5.527 MB / 0.6034 GB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4396, allocations: 7.938 kB / 0.6034 GB, free: 188 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4396, allocations: 0 / 0.6034 GB, free: 188 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.0004587/0.4401, allocations: 419 kB / 0.6038 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4401, allocations: 8.031 kB / 0.6039 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4401, allocations: 12.78 kB / 0.6039 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.4404, allocations: 216 kB / 0.6041 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.4405, allocations: 384 / 0.6041 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4405, allocations: 12.38 kB / 0.6041 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4406, allocations: 54.23 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4406, allocations: 192 / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4407, allocations: 7.938 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4407, allocations: 3.984 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.4407, allocations: 23.92 kB / 0.6042 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.4411, allocations: 284.9 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.4413, allocations: 66.61 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.4413, allocations: 16.86 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4414, allocations: 4 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.4415, allocations: 71.31 kB / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.4415, allocations: 3.984 kB / 0.6046 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000505/0.442, allocations: 181.1 kB / 0.6048 GB, free: 14.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.4421, allocations: 55.41 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4422, allocations: 174.5 kB / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4423, allocations: 33.69 kB / 0.605 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.4423, allocations: 92.14 kB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4423, allocations: 23.7 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.4423, allocations: 4 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4424, allocations: 327 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.4425, allocations: 24 kB / 0.6055 GB, free: 13.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.4426, allocations: 33.7 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.4427, allocations: 65.62 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4427, allocations: 0 / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.4429, allocations: 105.5 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4429, allocations: 5.875 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4429, allocations: 4.031 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4429, allocations: 3.938 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.443, allocations: 19.98 kB / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.443, allocations: 0 / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.4431, allocations: 4 kB / 0.6057 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.4431, allocations: 4 kB / 0.6057 GB, free: 13.64 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 8.315e-05/0.4432, allocations: 133.6 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.4432, allocations: 8.094 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4434, allocations: 126.2 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4435, allocations: 4 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4435, allocations: 0 / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4435, allocations: 0 / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.4439, allocations: 407.2 kB / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4439, allocations: 0 / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.4439, allocations: 16.36 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4439, allocations: 3.969 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.444, allocations: 8 kB / 0.6064 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.444, allocations: 0 / 0.6064 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.444, allocations: 7.938 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4442, allocations: 212.1 kB / 0.6066 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4442, allocations: 93 kB / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.4443, allocations: 0 / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.4443, allocations: 12 kB / 0.6067 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.4444, allocations: 11.92 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4444, allocations: 4 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4445, allocations: 131.2 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4445, allocations: 0 / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.4448, allocations: 28 kB / 0.6069 GB, free: 12.34 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.0009226/0.4457, allocations: 486.2 kB / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4459, allocations: 59.91 kB / 0.6074 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4459, allocations: 0 / 0.6074 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.446, allocations: 35.92 kB / 0.6074 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.4463, allocations: 30.73 kB / 0.6074 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.4467, allocations: 234.3 kB / 0.6077 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4469, allocations: 0.7005 MB / 0.6083 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.447, allocations: 12.55 kB / 0.6084 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.447, allocations: 15.44 kB / 0.6084 GB, free: 10.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.9e-07/0.447, allocations: 0 / 0.6084 GB, free: 10.91 MB / 426.7 MB Notification: Performance of Templates: time 0.003748/0.4508, allocations: 1.692 MB / 0.61 GB, free: 9.238 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches