Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.00119/0.00119, allocations: 186.1 kB / 19.38 MB, free: 3.68 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.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2054/0.2054, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 67.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3619, allocations: 60.82 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003006/0.3649, allocations: 1.71 MB / 0.5213 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3663, allocations: 0.8754 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.3665, allocations: 1.094 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.3668, allocations: 36 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.3671, allocations: 49.67 kB / 0.5223 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.3674, allocations: 114.4 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3676, allocations: 95.34 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.3677, allocations: 11.58 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.367e-05/0.3678, allocations: 42.44 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.3679, allocations: 29.77 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3679, allocations: 4.781 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.368, allocations: 45.53 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.3681, allocations: 16.7 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.3682, allocations: 32.95 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3684, allocations: 107.5 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3684, allocations: 1.062 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3684, allocations: 0 / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3684, allocations: 0 / 0.5227 GB, free: 1.555 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.0004825/0.3689, allocations: 398.3 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.369, allocations: 8.484 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.369, allocations: 12.97 kB / 0.5231 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3693, allocations: 208.5 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3693, allocations: 14.88 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3693, allocations: 2.016 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3694, allocations: 53.95 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3695, allocations: 0 / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3695, allocations: 1.281 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3695, allocations: 0 / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.3696, allocations: 22.95 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.3699, allocations: 287.7 kB / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.37, allocations: 57.17 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.3701, allocations: 23.84 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3701, allocations: 4.906 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.3703, allocations: 70.06 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3703, allocations: 0 / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.3708, allocations: 172 kB / 0.524 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.3708, allocations: 56.34 kB / 0.5241 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3709, allocations: 160.8 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.371, allocations: 31.17 kB / 0.5243 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.371, allocations: 97.16 kB / 0.5243 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.371, allocations: 22.3 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3711, allocations: 30.86 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3712, allocations: 320.8 kB / 0.5247 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.3713, allocations: 22.59 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.3713, allocations: 34.44 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3715, allocations: 57.38 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3715, allocations: 0 / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.3717, allocations: 105.2 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3717, allocations: 5.688 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3717, allocations: 1.125 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3717, allocations: 5.031 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.3718, allocations: 19.69 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3718, allocations: 1.594 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3719, allocations: 6.578 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.3719, allocations: 3.938 kB / 0.525 GB, free: 15.57 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.832e-05/0.372, allocations: 125.1 kB / 0.5251 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.372, allocations: 10.5 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.3721, allocations: 12.98 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3721, allocations: 10 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3721, allocations: 0.7031 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.3722, allocations: 84.56 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3722, allocations: 1.891 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.3722, allocations: 2.594 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3723, allocations: 8.969 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002255/0.3725, allocations: 178.5 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003008/0.3728, allocations: 271.3 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.669e-05/0.3729, allocations: 29.55 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.373, allocations: 128.4 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.373, allocations: 192 / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3744, allocations: 490.6 kB / 0.5262 GB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006499/0.3751, allocations: 0.6499 MB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.00475/0.3799, allocations: 1.746 MB / 0.5286 GB, free: 13.51 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches