Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0007214/0.0007214, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009676/0.001689, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009173/0.0009173, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002136, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.141, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2782/0.2782, allocations: 34.26 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02761/0.3058, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 292.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.9e-05, allocations: 7.188 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00338/0.003409, allocations: 1.823 MB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.005513, allocations: 1.014 MB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.995e-05/0.005613, allocations: 8 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.005884, allocations: 55.58 kB / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.006236, allocations: 99.45 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.006515, allocations: 79.56 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.006752, allocations: 107.6 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.006857, allocations: 11.98 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.007062, allocations: 87.75 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.007167, allocations: 27.91 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.007189, allocations: 4 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.007315, allocations: 43.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.007382, allocations: 23.88 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.007425, allocations: 19.94 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.007662, allocations: 111.5 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.007678, allocations: 4 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007679, allocations: 0 / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.00769, allocations: 4 kB / 296.4 MB, free: 2.594 MB / 282.7 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.000565/0.008255, allocations: 360.9 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.00829, allocations: 8.031 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.00834, allocations: 12.92 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.008546, allocations: 158.4 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.008562, allocations: 384 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.008581, allocations: 4.375 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.00871, allocations: 65.7 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.008722, allocations: 3.938 kB / 297 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.008731, allocations: 4 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.008738, allocations: 7.984 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.008767, allocations: 7.984 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.00903, allocations: 166 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.009148, allocations: 93.28 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.009173, allocations: 16.8 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.009186, allocations: 0 / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.009298, allocations: 62.16 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.0093, allocations: 0 / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003721/0.009672, allocations: 129.5 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.009704, allocations: 55.41 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.009888, allocations: 209.3 kB / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.009908, allocations: 25.7 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.009957, allocations: 100.1 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.009995, allocations: 27.83 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.01003, allocations: 17.72 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.01013, allocations: 334.8 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.01015, allocations: 6.828 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.01018, allocations: 29.64 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.01024, allocations: 40.52 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01024, allocations: 0 / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.01034, allocations: 84.42 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01036, allocations: 4 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01036, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01038, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.01046, allocations: 19.98 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01046, allocations: 0 / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.0105, allocations: 8 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.01051, allocations: 0 / 298.5 MB, free: 400 kB / 282.7 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 8.025e-05/0.01059, allocations: 129.6 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01061, allocations: 15.92 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.01075, allocations: 75.12 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01075, allocations: 4 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.01076, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01076, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.01105, allocations: 303.4 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01105, allocations: 0 / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.01109, allocations: 15.94 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.01111, allocations: 15.94 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01112, allocations: 3.984 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01113, allocations: 11.98 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01113, allocations: 3.938 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01113, allocations: 0 / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.01127, allocations: 215 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.01129, allocations: 4 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.01136, allocations: 7.984 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.01139, allocations: 4 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01141, allocations: 4.359 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.01149, allocations: 83.75 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01149, allocations: 0 / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01172, allocations: 20 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001881/0.0136, allocations: 0.6422 MB / 300 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01373, allocations: 48.75 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.01374, allocations: 4 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.01379, allocations: 28.78 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.01412, allocations: 184.4 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.01476, allocations: 264.2 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.01482, allocations: 75.52 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.01488, allocations: 20.91 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.01496, allocations: 67.36 kB / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01496, allocations: 0 / 300.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Templates: time 0.005432/0.0204, allocations: 2.065 MB / 302.7 MB, free: 12.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.812355793081224]