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.001798/0.001798, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.002156/0.002156, allocations: 207.1 kB / 23.72 MB, free: 4.184 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.224/0.224, allocations: 44.93 MB / 358.8 MB, free: 6.164 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.002127/0.002127, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 65.47 MB / 0.5575 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003358/0.3611, allocations: 1.671 MB / 0.5591 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3622, allocations: 0.5544 MB / 0.5596 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.3623, allocations: 7.938 kB / 0.5597 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3626, allocations: 43.81 kB / 0.5597 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3629, allocations: 95.59 kB / 0.5598 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.3633, allocations: 179.4 kB / 0.56 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3635, allocations: 95.73 kB / 0.56 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3637, allocations: 12.23 kB / 0.5601 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.3637, allocations: 39.83 kB / 0.5601 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3638, allocations: 47.78 kB / 0.5601 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3639, allocations: 7.938 kB / 0.5602 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.364, allocations: 55.91 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.3641, allocations: 27.91 kB / 0.5602 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.3641, allocations: 15.88 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3643, allocations: 117.9 kB / 0.5604 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3643, allocations: 0 / 0.5604 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3643, allocations: 0 / 0.5604 GB, free: 4.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3643, allocations: 7.938 kB / 0.5604 GB, free: 4.555 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.0006184/0.365, allocations: 337.6 kB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.365, allocations: 16.03 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.3651, allocations: 8.891 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3653, allocations: 142.3 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3653, allocations: 4.375 kB / 0.5609 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3653, allocations: 8.359 kB / 0.5609 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3655, allocations: 69.73 kB / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3655, allocations: 0 / 0.5609 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3655, allocations: 4 kB / 0.5609 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3655, allocations: 7.984 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3657, allocations: 39.97 kB / 0.561 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3662, allocations: 260.4 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.3664, allocations: 54.55 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3665, allocations: 24.97 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3666, allocations: 7.984 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3666, allocations: 30.56 kB / 0.5613 GB, free: 3.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3666, allocations: 0 / 0.5613 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001518/0.3681, allocations: 433.3 kB / 0.5618 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3682, allocations: 55.41 kB / 0.5618 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3684, allocations: 185.6 kB / 0.562 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3684, allocations: 25.7 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.3685, allocations: 108 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.3685, allocations: 31.7 kB / 0.5621 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.3686, allocations: 37.7 kB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3687, allocations: 318.8 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3688, allocations: 55.95 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.369, allocations: 52.02 kB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3693, allocations: 128.7 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3693, allocations: 7.938 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000346/0.3696, allocations: 165.5 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3696, allocations: 4 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3696, allocations: 0 / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3696, allocations: 0 / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3698, allocations: 27.97 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3698, allocations: 3.938 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.3698, allocations: 19.98 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3698, allocations: 4 kB / 0.5629 GB, free: 1.758 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.0001153/0.37, allocations: 121.8 kB / 0.563 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.37, allocations: 19.84 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.3705, allocations: 190.2 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3705, allocations: 0 / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3705, allocations: 3.938 kB / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3705, allocations: 4 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.3712, allocations: 439.7 kB / 0.5637 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3712, allocations: 4 kB / 0.5637 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3713, allocations: 23.98 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3713, allocations: 3.938 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3713, allocations: 4 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3713, allocations: 4.062 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3713, allocations: 3.938 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3717, allocations: 269.1 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3717, allocations: 11.84 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3717, allocations: 11.98 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.3718, allocations: 4 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3719, allocations: 12.17 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3719, allocations: 12 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.372, allocations: 136.9 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3723, allocations: 27.94 kB / 0.5642 GB, free: 404 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.001873/0.3742, allocations: 497 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3745, allocations: 123.9 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3745, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3747, allocations: 67.84 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3751, allocations: 27.02 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.3757, allocations: 312 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3758, allocations: 104.7 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.3759, allocations: 40.3 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.376, allocations: 15.44 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.376, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004842/0.3808, allocations: 1.665 MB / 0.5669 GB, free: 13.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/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: 5.181086495518684]