Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001424/0.001424, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.0015/0.0015, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2645/0.2645, allocations: 44.94 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") [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.002116/0.002116, allocations: 79.88 kB / 0.4935 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003341/0.355, allocations: 1.671 MB / 0.5591 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3561, allocations: 0.5583 MB / 0.5596 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.3562, allocations: 7.938 kB / 0.5597 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.3565, allocations: 67.77 kB / 0.5597 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.3568, allocations: 103.6 kB / 0.5598 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.3572, allocations: 191.2 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3574, allocations: 91.75 kB / 0.5601 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3575, allocations: 12.22 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.3576, allocations: 39.84 kB / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3577, allocations: 67.73 kB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3577, allocations: 8 kB / 0.5602 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3578, allocations: 43.98 kB / 0.5603 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.3579, allocations: 23.86 kB / 0.5603 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.358, allocations: 27.8 kB / 0.5603 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.3582, allocations: 133.8 kB / 0.5604 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3582, allocations: 0 / 0.5604 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3582, allocations: 0 / 0.5604 GB, free: 4.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3582, allocations: 0 / 0.5604 GB, free: 4.426 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.0006475/0.3589, allocations: 353.5 kB / 0.5608 GB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3589, allocations: 8.031 kB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.3589, allocations: 16.89 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3592, allocations: 146.3 kB / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3592, allocations: 4.375 kB / 0.5609 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3592, allocations: 4.375 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.3594, allocations: 73.72 kB / 0.561 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3594, allocations: 0 / 0.561 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3595, allocations: 4 kB / 0.561 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3595, allocations: 4 kB / 0.561 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3596, allocations: 39.97 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.3601, allocations: 276.3 kB / 0.5613 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3604, allocations: 54.55 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.3605, allocations: 28.91 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3605, allocations: 4 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3605, allocations: 34.56 kB / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3605, allocations: 0 / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001567/0.3621, allocations: 436.9 kB / 0.5619 GB, free: 2.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3621, allocations: 51.41 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.3624, allocations: 218.2 kB / 0.5621 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3624, allocations: 25.7 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3625, allocations: 104.1 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.3625, allocations: 39.69 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3626, allocations: 29.7 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3627, allocations: 326.8 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3629, allocations: 55.95 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.363, allocations: 47.97 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.3633, allocations: 128.7 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3633, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003497/0.3637, allocations: 173.5 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3637, allocations: 4 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3637, allocations: 0 / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3637, allocations: 4 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3638, allocations: 27.97 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3638, allocations: 3.938 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.3639, allocations: 4 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.3639, allocations: 16.55 kB / 0.5631 GB, free: 1.562 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.0001121/0.364, allocations: 129.8 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.364, allocations: 19.84 kB / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.3645, allocations: 187.4 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3645, allocations: 8 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3645, allocations: 3.938 kB / 0.5634 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3645, allocations: 0 / 0.5634 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.3653, allocations: 451.6 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3653, allocations: 0 / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3654, allocations: 23.98 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.3654, allocations: 7.938 kB / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3654, allocations: 3.984 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3654, allocations: 0 / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3654, allocations: 8.062 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.3658, allocations: 281 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.3658, allocations: 11.98 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3658, allocations: 7.938 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3659, allocations: 7.984 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.366, allocations: 11.98 kB / 0.5642 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.366, allocations: 4 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3661, allocations: 168.2 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 0 / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3664, allocations: 27.98 kB / 0.5644 GB, free: 140 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.001865/0.3683, allocations: 499 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.3686, allocations: 123.8 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3686, allocations: 0 / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3688, allocations: 67.89 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3692, allocations: 19.92 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.3698, allocations: 336.9 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.37, allocations: 109.7 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.37, allocations: 36.45 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.3701, allocations: 19.42 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3701, allocations: 0 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004844/0.3749, allocations: 1.707 MB / 0.5672 GB, free: 13.42 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 5.220241587609053]