Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.00164/0.00164, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001967/0.001967, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.965 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.222/0.222, allocations: 44.92 MB / 359.6 MB, free: 6.27 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002275/0.002275, allocations: 67.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 65.46 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003926/0.3549, allocations: 1.698 MB / 0.5599 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3561, allocations: 0.5659 MB / 0.5605 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.3561, allocations: 4 kB / 0.5605 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3564, allocations: 47.75 kB / 0.5605 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3567, allocations: 99.58 kB / 0.5606 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3571, allocations: 127.5 kB / 0.5607 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3573, allocations: 95.73 kB / 0.5608 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3574, allocations: 12.23 kB / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.3575, allocations: 39.84 kB / 0.5609 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3576, allocations: 47.77 kB / 0.5609 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3576, allocations: 4 kB / 0.5609 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3578, allocations: 51.98 kB / 0.561 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3579, allocations: 23.91 kB / 0.561 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3579, allocations: 31.73 kB / 0.561 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.3581, allocations: 114 kB / 0.5611 GB, free: 4.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3581, allocations: 0 / 0.5611 GB, free: 4.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3581, allocations: 4 kB / 0.5612 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3582, allocations: 0 / 0.5612 GB, free: 4.754 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.0005928/0.3587, allocations: 337.6 kB / 0.5615 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3588, allocations: 12.03 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.3588, allocations: 8.891 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3591, allocations: 142.9 kB / 0.5616 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3591, allocations: 4.375 kB / 0.5616 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.3591, allocations: 7.938 kB / 0.5616 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3593, allocations: 73.53 kB / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3593, allocations: 0 / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3593, allocations: 4 kB / 0.5617 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3593, allocations: 4 kB / 0.5617 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3595, allocations: 31.97 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3599, allocations: 275.8 kB / 0.562 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.3602, allocations: 62.53 kB / 0.5621 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.3603, allocations: 24.97 kB / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3603, allocations: 0 / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3603, allocations: 30.56 kB / 0.5621 GB, free: 3.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3603, allocations: 0 / 0.5621 GB, free: 3.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001471/0.3618, allocations: 405 kB / 0.5625 GB, free: 3.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3618, allocations: 55.41 kB / 0.5626 GB, free: 3.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.362, allocations: 172.1 kB / 0.5627 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3621, allocations: 29.7 kB / 0.5628 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.3621, allocations: 100.1 kB / 0.5629 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.3622, allocations: 47.61 kB / 0.5629 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.3622, allocations: 25.72 kB / 0.5629 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3624, allocations: 322.8 kB / 0.5632 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3625, allocations: 43.97 kB / 0.5633 GB, free: 2.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3626, allocations: 43.91 kB / 0.5633 GB, free: 2.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3629, allocations: 104.8 kB / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3629, allocations: 0 / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003308/0.3632, allocations: 141.5 kB / 0.5635 GB, free: 2.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3632, allocations: 4 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3632, allocations: 8.438 kB / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3632, allocations: 0 / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3634, allocations: 35.97 kB / 0.5636 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3634, allocations: 0 / 0.5636 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.3634, allocations: 15.98 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3634, allocations: 4 kB / 0.5636 GB, free: 2.043 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.000109/0.3635, allocations: 121.8 kB / 0.5637 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.3636, allocations: 7.953 kB / 0.5637 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.364, allocations: 174.5 kB / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.364, allocations: 0 / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.364, allocations: 4 kB / 0.5639 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.364, allocations: 3.984 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.3647, allocations: 435.1 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3647, allocations: 0 / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3648, allocations: 31.98 kB / 0.5644 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3648, allocations: 3.938 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3648, allocations: 0 / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3648, allocations: 4 kB / 0.5644 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3648, allocations: 3.984 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.3652, allocations: 253 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.3652, allocations: 11.94 kB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3653, allocations: 4 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.3654, allocations: 4 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3654, allocations: 11.98 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3654, allocations: 12.08 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.3655, allocations: 142.8 kB / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3655, allocations: 0 / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3658, allocations: 23.94 kB / 0.5648 GB, free: 0.7227 MB / 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.001762/0.3676, allocations: 463.1 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.3679, allocations: 107.8 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3679, allocations: 0 / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3681, allocations: 52.03 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3684, allocations: 25.3 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.3691, allocations: 297.2 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3695, allocations: 0.7041 MB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.3695, allocations: 23.44 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3695, allocations: 0 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004408/0.3739, allocations: 1.917 MB / 0.5683 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.856831798097119]