Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 108.3 kB / 17.74 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 192.1 kB / 18.68 MB, free: 4.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4424, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003493/0.4459, allocations: 1.744 MB / 0.5206 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.4474, allocations: 0.8864 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.4475, allocations: 1.156 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.4479, allocations: 101.2 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.4482, allocations: 93.19 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.4485, allocations: 115.5 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.4488, allocations: 123.6 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4489, allocations: 20.28 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.449, allocations: 61.52 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4491, allocations: 71.31 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.4492, allocations: 5.594 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4493, allocations: 60.06 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.4494, allocations: 32.44 kB / 0.5222 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.4495, allocations: 48.31 kB / 0.5222 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.4497, allocations: 158.5 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4498, allocations: 0 / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4498, allocations: 1.094 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.4498, allocations: 3.938 kB / 0.5224 GB, free: 1.441 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005553/0.4503, allocations: 452.1 kB / 0.5228 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4504, allocations: 9.781 kB / 0.5228 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.4504, allocations: 16.5 kB / 0.5228 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4507, allocations: 229.5 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4508, allocations: 7.312 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.4508, allocations: 11.56 kB / 0.5231 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.451, allocations: 74.08 kB / 0.5231 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.451, allocations: 2.047 kB / 0.5231 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.451, allocations: 0 / 0.5231 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.451, allocations: 5.312 kB / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4511, allocations: 36.19 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.4515, allocations: 324.5 kB / 0.5235 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.4518, allocations: 83.3 kB / 0.5236 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.4519, allocations: 23.55 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.4519, allocations: 11.98 kB / 0.5236 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.452, allocations: 75.14 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.4521, allocations: 0 / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008652/0.4529, allocations: 300.7 kB / 0.524 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.453, allocations: 58.36 kB / 0.524 GB, free: 80 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4532, allocations: 243.6 kB / 0.5242 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4533, allocations: 32.88 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.4534, allocations: 122.3 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.4534, allocations: 47.28 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.4535, allocations: 30.86 kB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4537, allocations: 334.1 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.4538, allocations: 35.77 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4539, allocations: 59.19 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4541, allocations: 111.4 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4541, allocations: 0 / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002979/0.4544, allocations: 157.7 kB / 0.5251 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4544, allocations: 6.844 kB / 0.5251 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4545, allocations: 2.625 kB / 0.5251 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4545, allocations: 3.938 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4546, allocations: 26.52 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4546, allocations: 0.5469 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.4547, allocations: 15.92 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4547, allocations: 4.094 kB / 0.5252 GB, free: 15.2 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.4548, allocations: 133.8 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.4549, allocations: 15.12 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.432e-05/0.455, allocations: 26.3 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.455, allocations: 5.312 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.455, allocations: 0 / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.455, allocations: 2.594 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.4557, allocations: 0.5 MB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4558, allocations: 0 / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.4558, allocations: 26.98 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4558, allocations: 1.375 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4559, allocations: 3.969 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4559, allocations: 1.375 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4559, allocations: 1.891 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.4563, allocations: 266.7 kB / 0.5261 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.4563, allocations: 91.83 kB / 0.5262 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.4564, allocations: 5.984 kB / 0.5262 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.4565, allocations: 3.453 kB / 0.5262 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.4565, allocations: 13.39 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4566, allocations: 10.81 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.4568, allocations: 184.3 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4568, allocations: 0 / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.4573, allocations: 33.91 kB / 0.5265 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.4587, allocations: 0.5117 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.459, allocations: 104.2 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.459, allocations: 4.062 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.4591, allocations: 52.77 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4595, allocations: 39.64 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.4602, allocations: 334.3 kB / 0.5275 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4606, allocations: 0.7259 MB / 0.5282 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.769e-05/0.4607, allocations: 24.58 kB / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.4608, allocations: 22.48 kB / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4608, allocations: 0 / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.006158/0.467, allocations: 2.164 MB / 0.5303 GB, free: 12.03 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches