Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 112.6 kB / 18.45 MB, free: 4.598 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.00104/0.00104, allocations: 187.2 kB / 19.39 MB, free: 3.676 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.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.19 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.2075/0.2075, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 59.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3725, allocations: 60.82 MB / 0.5197 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00292/0.3754, allocations: 1.705 MB / 0.5213 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3774, allocations: 1.489 MB / 0.5228 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.3775, allocations: 1.5 kB / 0.5228 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3778, allocations: 34.62 kB / 0.5228 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.378, allocations: 59.84 kB / 0.5229 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.3784, allocations: 110.5 kB / 0.523 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3785, allocations: 100.6 kB / 0.5231 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.3786, allocations: 12.23 kB / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.3787, allocations: 41.97 kB / 0.5231 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3789, allocations: 39.81 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3789, allocations: 4.375 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.379, allocations: 58.11 kB / 0.5232 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.3791, allocations: 27 kB / 0.5232 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.3791, allocations: 30.27 kB / 0.5233 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3794, allocations: 119.2 kB / 0.5234 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3794, allocations: 1.094 kB / 0.5234 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3794, allocations: 0 / 0.5234 GB, free: 1.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3794, allocations: 0 / 0.5234 GB, free: 1.328 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.0004498/0.3799, allocations: 401.1 kB / 0.5238 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3799, allocations: 9.547 kB / 0.5238 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3799, allocations: 8.094 kB / 0.5238 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.3802, allocations: 214.4 kB / 0.524 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3802, allocations: 1.844 kB / 0.524 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3802, allocations: 5.406 kB / 0.524 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3804, allocations: 71.91 kB / 0.5241 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3804, allocations: 4.594 kB / 0.5241 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3804, allocations: 0 / 0.5241 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3804, allocations: 5.062 kB / 0.5241 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.3805, allocations: 22.88 kB / 0.5241 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.3808, allocations: 283.7 kB / 0.5244 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.381, allocations: 52.61 kB / 0.5244 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.381, allocations: 23.22 kB / 0.5244 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.381, allocations: 6 kB / 0.5244 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.3812, allocations: 65.98 kB / 0.5245 GB, free: 236 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3812, allocations: 0 / 0.5245 GB, free: 236 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004776/0.3817, allocations: 167.6 kB / 0.5247 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.3817, allocations: 79.42 kB / 0.5247 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3819, allocations: 154.4 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3819, allocations: 29.7 kB / 0.5249 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.382, allocations: 97.78 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.382, allocations: 27.8 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.382, allocations: 22.38 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3822, allocations: 327.4 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.3822, allocations: 22.8 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.3823, allocations: 40.14 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3825, allocations: 74.86 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3825, allocations: 0 / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.3827, allocations: 95.47 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3827, allocations: 6.031 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3827, allocations: 3.938 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3827, allocations: 0 / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.3828, allocations: 13.34 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3829, allocations: 2.125 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.3829, allocations: 7.25 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3829, allocations: 10.28 kB / 0.5256 GB, free: 15.29 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 0.000123/0.3831, allocations: 122.8 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.3831, allocations: 8.656 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.3832, allocations: 17.97 kB / 0.5258 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3832, allocations: 0 / 0.5258 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3832, allocations: 1.812 kB / 0.5258 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.3832, allocations: 83.94 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3833, allocations: 5.812 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.3833, allocations: 7.766 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.3834, allocations: 13.05 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002734/0.3837, allocations: 173.8 kB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003152/0.384, allocations: 271.6 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.007e-05/0.3841, allocations: 33.36 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3842, allocations: 116.1 kB / 0.5265 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.3842, allocations: 5.094 kB / 0.5265 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3858, allocations: 0.5175 MB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007268/0.3866, allocations: 0.6399 MB / 0.5276 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005281/0.3919, allocations: 2.02 MB / 0.5296 GB, free: 12.99 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches