Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 67.91 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3486, allocations: 65.47 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003412/0.352, allocations: 1.678 MB / 0.5599 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3532, allocations: 0.5583 MB / 0.5604 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.3533, allocations: 4 kB / 0.5604 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3535, allocations: 39.81 kB / 0.5604 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.3539, allocations: 99.53 kB / 0.5605 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.3543, allocations: 183.3 kB / 0.5607 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3545, allocations: 87.81 kB / 0.5608 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3546, allocations: 12.22 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.3547, allocations: 47.77 kB / 0.5609 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3548, allocations: 43.78 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3548, allocations: 8 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3549, allocations: 47.97 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.355, allocations: 27.92 kB / 0.561 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.3551, allocations: 23.8 kB / 0.561 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3553, allocations: 117.9 kB / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3553, allocations: 0 / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3553, allocations: 0 / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3553, allocations: 0 / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005995/0.3559, allocations: 341.6 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.356, allocations: 12.03 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.356, allocations: 12.89 kB / 0.5615 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3562, allocations: 140 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3562, allocations: 4.359 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3563, allocations: 8.375 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3564, allocations: 69.73 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3565, allocations: 0 / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3565, allocations: 0 / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3565, allocations: 4 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3566, allocations: 47.95 kB / 0.5617 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.3571, allocations: 268.3 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3574, allocations: 58.53 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3574, allocations: 24.97 kB / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3575, allocations: 0 / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3575, allocations: 34.56 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3575, allocations: 0 / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001513/0.359, allocations: 425 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3591, allocations: 51.41 kB / 0.5625 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3593, allocations: 189.8 kB / 0.5627 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3593, allocations: 29.7 kB / 0.5628 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.3594, allocations: 108 kB / 0.5629 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3594, allocations: 35.69 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.3595, allocations: 25.7 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3596, allocations: 326.8 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3598, allocations: 51.97 kB / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3599, allocations: 55.95 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3602, allocations: 128.7 kB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3602, allocations: 0 / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003623/0.3605, allocations: 165.8 kB / 0.5636 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3606, allocations: 8 kB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3606, allocations: 0 / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3606, allocations: 0 / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3607, allocations: 23.98 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3607, allocations: 7.922 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.3608, allocations: 12.56 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.3608, allocations: 3.938 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001282/0.3609, allocations: 137.8 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3609, allocations: 11.91 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.3614, allocations: 194.3 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3614, allocations: 4 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3614, allocations: 3.938 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3614, allocations: 0 / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.3621, allocations: 431.7 kB / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3621, allocations: 0 / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3622, allocations: 35.97 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3622, allocations: 3.938 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.3622, allocations: 0 / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/0.3623, allocations: 7.938 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3623, allocations: 0 / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.3627, allocations: 269.1 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.3627, allocations: 15.84 kB / 0.5647 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3627, allocations: 8 kB / 0.5647 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.3628, allocations: 8.078 kB / 0.5647 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3629, allocations: 11.92 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3629, allocations: 4 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.363, allocations: 143.2 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 4 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3633, allocations: 27.94 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001893/0.3652, allocations: 491 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3656, allocations: 123.8 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3656, allocations: 4 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3657, allocations: 63.89 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3662, allocations: 30.95 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.3669, allocations: 321.9 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3671, allocations: 100.1 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3671, allocations: 19.42 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3671, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004655/0.3718, allocations: 2.08 MB / 0.5681 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.997180184815079]