Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 106.8 kB / 18.45 MB, free: 4.699 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.001302/0.001302, allocations: 187.1 kB / 19.38 MB, free: 3.773 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2056/0.2056, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 59.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3651, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002763/0.3679, allocations: 1.703 MB / 0.5213 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3696, allocations: 1.488 MB / 0.5228 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.3697, allocations: 1.312 kB / 0.5228 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.37, allocations: 36.92 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3702, allocations: 58.84 kB / 0.5229 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3705, allocations: 114.5 kB / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3706, allocations: 96.11 kB / 0.5231 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.3707, allocations: 11.92 kB / 0.5231 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.3708, allocations: 46.8 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3709, allocations: 43.38 kB / 0.5232 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.371, allocations: 4.156 kB / 0.5232 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.3711, allocations: 57.89 kB / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.3711, allocations: 15.69 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.3712, allocations: 33.73 kB / 0.5233 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.3714, allocations: 121.9 kB / 0.5234 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3714, allocations: 1 kB / 0.5234 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3714, allocations: 4 kB / 0.5234 GB, free: 1.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3714, allocations: 0 / 0.5234 GB, free: 1.094 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.0004211/0.3719, allocations: 412.4 kB / 0.5238 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3719, allocations: 9.219 kB / 0.5238 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.372, allocations: 10.19 kB / 0.5238 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3722, allocations: 200.8 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3722, allocations: 10.02 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3722, allocations: 6.438 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3724, allocations: 70.77 kB / 0.5241 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3724, allocations: 1.094 kB / 0.5241 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3724, allocations: 4.594 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3724, allocations: 1.219 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.3725, allocations: 25.77 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.3728, allocations: 281.2 kB / 0.5244 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3729, allocations: 59.84 kB / 0.5244 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.373, allocations: 20.34 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.373, allocations: 4.641 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.3732, allocations: 70.12 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3732, allocations: 0 / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005001/0.3737, allocations: 183.9 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3737, allocations: 78.61 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3739, allocations: 150.6 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3739, allocations: 27.2 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.374, allocations: 97.61 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.374, allocations: 21.31 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.374, allocations: 27.36 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3742, allocations: 323.6 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.3742, allocations: 25.94 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.3743, allocations: 41.58 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3744, allocations: 56.95 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3745, allocations: 1.125 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.3746, allocations: 104.1 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3747, allocations: 13.47 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3747, allocations: 0 / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3747, allocations: 1.375 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.3748, allocations: 15.8 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3748, allocations: 2.469 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.3749, allocations: 2.516 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3749, allocations: 6.344 kB / 0.5256 GB, free: 15.05 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.142e-05/0.375, allocations: 123.3 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.375, allocations: 12.45 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.375, allocations: 17.62 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3751, allocations: 0.5625 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3751, allocations: 4.516 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3751, allocations: 85.66 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3751, allocations: 4.5 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.3752, allocations: 11.39 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.3752, allocations: 9.656 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002158/0.3755, allocations: 165.5 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002644/0.3757, allocations: 279.8 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.703e-05/0.3758, allocations: 30.25 kB / 0.5264 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3759, allocations: 120 kB / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Backend: time 4.6e-07/0.3759, allocations: 192 / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3774, allocations: 0.5105 MB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005551/0.378, allocations: 0.6383 MB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.00458/0.3826, allocations: 2.022 MB / 0.5296 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches