Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00173/0.00173, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001909/0.001909, allocations: 218.4 kB / 23.73 MB, free: 4.16 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2334/0.2334, allocations: 44.94 MB / 358.8 MB, free: 6.078 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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [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.002141/0.002141, allocations: 63.91 kB / 0.4936 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 65.47 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003089/0.3132, allocations: 1.714 MB / 0.5592 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3149, allocations: 0.9741 MB / 0.5601 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.315, allocations: 3.938 kB / 0.5601 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3153, allocations: 59.75 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.3156, allocations: 99.59 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3158, allocations: 75.67 kB / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.316, allocations: 103.7 kB / 0.5605 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.3161, allocations: 7.984 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.3162, allocations: 39.8 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3163, allocations: 43.77 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3163, allocations: 4 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.3164, allocations: 43.98 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.3164, allocations: 27.86 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.3165, allocations: 31.73 kB / 0.5607 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3167, allocations: 141.8 kB / 0.5608 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3167, allocations: 0 / 0.5608 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3167, allocations: 0 / 0.5608 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3167, allocations: 0 / 0.5608 GB, free: 4.078 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007675/0.3175, allocations: 385.2 kB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3176, allocations: 8.031 kB / 0.5612 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.3176, allocations: 16.84 kB / 0.5612 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.318, allocations: 155.3 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.318, allocations: 8.359 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.318, allocations: 4.125 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3182, allocations: 61.61 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3182, allocations: 0 / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3182, allocations: 7.984 kB / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3182, allocations: 0 / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3183, allocations: 23.92 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3188, allocations: 240.5 kB / 0.5617 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.319, allocations: 62.67 kB / 0.5617 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.319, allocations: 20.84 kB / 0.5617 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.319, allocations: 0 / 0.5617 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3192, allocations: 75.33 kB / 0.5618 GB, free: 2.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3192, allocations: 0 / 0.5618 GB, free: 2.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.3198, allocations: 197.2 kB / 0.562 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3199, allocations: 51.41 kB / 0.562 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3202, allocations: 279.8 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3202, allocations: 29.7 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.3203, allocations: 120.1 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3203, allocations: 23.8 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3204, allocations: 29.7 kB / 0.5625 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3205, allocations: 330.7 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.3206, allocations: 23.98 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.3207, allocations: 37.7 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3208, allocations: 61.64 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3208, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.321, allocations: 117.5 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.321, allocations: 4 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.321, allocations: 3.984 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.321, allocations: 4 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.3211, allocations: 12 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3211, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.3212, allocations: 4 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3212, allocations: 3.984 kB / 0.5631 GB, free: 1.535 MB / 398.1 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 0.000116/0.3213, allocations: 137.8 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3213, allocations: 15.91 kB / 0.5632 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3216, allocations: 131 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3216, allocations: 0 / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3216, allocations: 0 / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3216, allocations: 3.938 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3221, allocations: 355.1 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3221, allocations: 4 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.3221, allocations: 19.92 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3221, allocations: 0 / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3221, allocations: 0 / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3221, allocations: 4.453 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.3221, allocations: 11.95 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3224, allocations: 216.5 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3224, allocations: 12 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3224, allocations: 15.94 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3225, allocations: 0 / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3225, allocations: 11.92 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3226, allocations: 8 kB / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3228, allocations: 204.6 kB / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3228, allocations: 0 / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.323, allocations: 31.89 kB / 0.5642 GB, free: 300 kB / 398.1 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.00187/0.3249, allocations: 493.1 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3251, allocations: 63.89 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3251, allocations: 64 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.3252, allocations: 39.92 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3255, allocations: 35.84 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.3261, allocations: 295.6 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3262, allocations: 105.1 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.3263, allocations: 21.33 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3263, allocations: 15.44 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3263, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005597/0.3319, allocations: 1.962 MB / 0.5672 GB, free: 13.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.233915448188782]