Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 106.8 kB / 18.45 MB, free: 4.637 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.001203/0.001203, allocations: 183.1 kB / 19.39 MB, free: 3.711 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.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2205/0.2205, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3686, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003371/0.372, allocations: 1.668 MB / 0.5213 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3732, allocations: 0.8491 MB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.3733, allocations: 1.094 kB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3736, allocations: 54.97 kB / 0.5222 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3738, allocations: 62.09 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.3741, allocations: 110.7 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3743, allocations: 97.91 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.3744, allocations: 8.266 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.3745, allocations: 45.62 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3746, allocations: 39.39 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3746, allocations: 2.75 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/0.3747, allocations: 26.88 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.3747, allocations: 20.95 kB / 0.5226 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.3748, allocations: 40.52 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.375, allocations: 90.42 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.375, allocations: 0 / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.375, allocations: 1.125 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.375, allocations: 0 / 0.5227 GB, free: 1.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004728/0.3755, allocations: 402.4 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3756, allocations: 8.344 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.3756, allocations: 10.11 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3758, allocations: 201.1 kB / 0.5233 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3758, allocations: 10.2 kB / 0.5233 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3759, allocations: 5.25 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.376, allocations: 50.09 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.376, allocations: 1.062 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.376, allocations: 0.5156 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3761, allocations: 1.125 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.3761, allocations: 15.45 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3763, allocations: 185.1 kB / 0.5235 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3764, allocations: 52.69 kB / 0.5236 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.3765, allocations: 26.97 kB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3765, allocations: 5.906 kB / 0.5236 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.3767, allocations: 64.94 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3767, allocations: 0 / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002662/0.377, allocations: 100.1 kB / 0.5238 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.377, allocations: 52.2 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3771, allocations: 170.3 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3772, allocations: 26.73 kB / 0.524 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.3772, allocations: 103.2 kB / 0.5241 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3772, allocations: 11.23 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.3773, allocations: 20.84 kB / 0.5241 GB, free: 228 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.3774, allocations: 324.4 kB / 0.5244 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.3774, allocations: 17.78 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3775, allocations: 34.7 kB / 0.5245 GB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3776, allocations: 42.12 kB / 0.5245 GB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3776, allocations: 0 / 0.5245 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.3778, allocations: 84.56 kB / 0.5246 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3778, allocations: 9.141 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3778, allocations: 1.344 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3779, allocations: 1.875 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.3779, allocations: 9.5 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.378, allocations: 1.062 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.378, allocations: 4.688 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.378, allocations: 1.672 kB / 0.5246 GB, free: 15.78 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 (7): * Single equations (assignments): 7 * 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.0001015/0.3781, allocations: 127.2 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3782, allocations: 17.95 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.3782, allocations: 12.92 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3782, allocations: 2.656 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3782, allocations: 0 / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.3783, allocations: 88.83 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3783, allocations: 0.75 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.3784, allocations: 4.5 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3784, allocations: 5.391 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002003/0.3786, allocations: 160.5 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002286/0.3788, allocations: 257.9 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.907e-05/0.3789, allocations: 21.27 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.839e-05/0.379, allocations: 130 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.379, allocations: 1.469 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.3803, allocations: 421.4 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005969/0.3809, allocations: 0.6454 MB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004346/0.3852, allocations: 1.507 MB / 0.5279 GB, free: 13.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches