Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 113.8 kB / 18.45 MB, free: 4.617 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.001051/0.001051, allocations: 190 kB / 19.39 MB, free: 3.688 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.431/1.431, allocations: 222.9 MB / 243.1 MB, free: 15.12 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.2207/0.2207, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 60.81 MB / 0.5197 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003054/0.3596, allocations: 1.717 MB / 0.5213 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3619, allocations: 1.485 MB / 0.5228 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.362, allocations: 5.125 kB / 0.5228 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3623, allocations: 40.66 kB / 0.5228 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.3626, allocations: 50.72 kB / 0.5229 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.363, allocations: 118.2 kB / 0.523 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3632, allocations: 95.84 kB / 0.5231 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3633, allocations: 12.3 kB / 0.5231 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3634, allocations: 46.09 kB / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3636, allocations: 36.06 kB / 0.5232 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.3636, allocations: 7.719 kB / 0.5232 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.3638, allocations: 62.83 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3639, allocations: 19.55 kB / 0.5233 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.3639, allocations: 29.94 kB / 0.5233 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3642, allocations: 126.1 kB / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3642, allocations: 0 / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3642, allocations: 2.094 kB / 0.5234 GB, free: 1.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3642, allocations: 0 / 0.5234 GB, free: 1.344 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.0005633/0.3648, allocations: 407.3 kB / 0.5238 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3649, allocations: 9.438 kB / 0.5238 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3649, allocations: 9.203 kB / 0.5238 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3652, allocations: 205.5 kB / 0.524 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3653, allocations: 2.266 kB / 0.524 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3653, allocations: 11.09 kB / 0.524 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3655, allocations: 69.52 kB / 0.5241 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3656, allocations: 1.812 kB / 0.5241 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3656, allocations: 4 kB / 0.5241 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3656, allocations: 5.031 kB / 0.5241 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.702e-05/0.3657, allocations: 21.97 kB / 0.5241 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3661, allocations: 280.6 kB / 0.5244 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3663, allocations: 52.53 kB / 0.5244 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.3663, allocations: 31.41 kB / 0.5245 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3664, allocations: 1.5 kB / 0.5245 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3665, allocations: 65.41 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3665, allocations: 1.156 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005795/0.3671, allocations: 179.3 kB / 0.5247 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3672, allocations: 78.33 kB / 0.5248 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3674, allocations: 154.1 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3674, allocations: 30.92 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3675, allocations: 94.47 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3675, allocations: 25.62 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3675, allocations: 22 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3677, allocations: 324.7 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.3677, allocations: 22.69 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3678, allocations: 45.12 kB / 0.5255 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3679, allocations: 65.88 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3679, allocations: 0 / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3681, allocations: 96.22 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3682, allocations: 9.922 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3682, allocations: 1.938 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3682, allocations: 0 / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.3683, allocations: 19.61 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3683, allocations: 1.875 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.3684, allocations: 6.5 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3684, allocations: 7.531 kB / 0.5257 GB, free: 15.3 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.99e-05/0.3685, allocations: 117.1 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3685, allocations: 13.94 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.3686, allocations: 17.47 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3686, allocations: 0.6094 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3686, allocations: 0.9375 kB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.3687, allocations: 89.19 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3687, allocations: 14.34 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.3687, allocations: 2.578 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.3688, allocations: 11.91 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002345/0.369, allocations: 171.8 kB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002784/0.3693, allocations: 275.5 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.36e-05/0.3694, allocations: 33.23 kB / 0.5264 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3695, allocations: 115.3 kB / 0.5265 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3695, allocations: 0 / 0.5265 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.3712, allocations: 0.5061 MB / 0.527 GB, free: 14.37 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008507/0.3721, allocations: 0.6357 MB / 0.5276 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.005825/0.3779, allocations: 2.019 MB / 0.5296 GB, free: 13.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches