Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.00147/0.00147, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.559/1.559, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2396/0.2396, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4542, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003102/0.4573, allocations: 1.714 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.4594, allocations: 1.481 MB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.4595, allocations: 1.094 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.4598, allocations: 36.33 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.4601, allocations: 55.78 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.4604, allocations: 117.5 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4606, allocations: 97.41 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4607, allocations: 10.39 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.4608, allocations: 46.66 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.4609, allocations: 43.52 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.461, allocations: 5.438 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4611, allocations: 58 kB / 0.5226 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.4612, allocations: 15.42 kB / 0.5226 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.4612, allocations: 37.72 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.4615, allocations: 121 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4615, allocations: 0.8438 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4615, allocations: 1.375 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.4615, allocations: 0 / 0.5227 GB, free: 1.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004995/0.462, allocations: 401.5 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.462, allocations: 9.781 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.4621, allocations: 10.09 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4624, allocations: 208.3 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4624, allocations: 6.938 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4624, allocations: 6.078 kB / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4626, allocations: 66.58 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4626, allocations: 0.9688 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4626, allocations: 5.594 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4626, allocations: 3.938 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.4627, allocations: 18.31 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.463, allocations: 288.2 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4632, allocations: 56.61 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.4632, allocations: 29.61 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4633, allocations: 0.7031 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.4634, allocations: 68.11 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.4634, allocations: 1.5 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000538/0.464, allocations: 163.2 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.4642, allocations: 82.58 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4643, allocations: 153.8 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4643, allocations: 28.03 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.4644, allocations: 92.97 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.4644, allocations: 26.05 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.4645, allocations: 30.39 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4646, allocations: 325.3 kB / 0.5247 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.4647, allocations: 17.7 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.4648, allocations: 44.27 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4649, allocations: 58.72 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4649, allocations: 4.031 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.4651, allocations: 104.7 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4651, allocations: 9.047 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4651, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4652, allocations: 1.406 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.4653, allocations: 15.83 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.4653, allocations: 0 / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.4653, allocations: 8.297 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4654, allocations: 2.594 kB / 0.525 GB, free: 15.04 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 (10): * Single equations (assignments): 10 * 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 9.294e-05/0.4655, allocations: 126.1 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.4655, allocations: 8.984 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.4655, allocations: 18.23 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4655, allocations: 6.125 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4656, allocations: 3.938 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4656, allocations: 7.922 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.466, allocations: 385.9 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4661, allocations: 7.969 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.4661, allocations: 12.91 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4661, allocations: 0.6094 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4661, allocations: 6.562 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4661, allocations: 2.156 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4661, allocations: 0.6094 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.4664, allocations: 191.5 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.4664, allocations: 97.3 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4665, allocations: 6.156 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.4665, allocations: 4.219 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4666, allocations: 8.984 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4666, allocations: 8.875 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4668, allocations: 115.3 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4668, allocations: 0 / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.4671, allocations: 31.53 kB / 0.526 GB, free: 14.15 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001381/0.4685, allocations: 0.4904 MB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.4687, allocations: 68.47 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4687, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/0.4688, allocations: 29.28 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.4692, allocations: 30.7 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.4697, allocations: 207 kB / 0.5268 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4701, allocations: 0.6966 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.4702, allocations: 13.66 kB / 0.5275 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.4703, allocations: 18.41 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4703, allocations: 0 / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Templates: time 0.006017/0.4763, allocations: 1.962 MB / 0.5294 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches