Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0007652/0.0007652, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001784, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006895/0.0006895, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008985/0.001588, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.144, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3358/0.3358, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03523/0.3711, allocations: 12.54 MB / 289.3 MB, free: 8.672 MB / 282.7 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.442e-05, allocations: 2.312 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003752/0.003787, allocations: 1.803 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.00687, allocations: 1.765 MB / 294.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.006967, allocations: 3.938 kB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.007223, allocations: 31.78 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.007559, allocations: 99.47 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.007778, allocations: 79.59 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.007996, allocations: 111.6 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.00811, allocations: 12.73 kB / 294.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.008291, allocations: 87.75 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.008431, allocations: 31.89 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.008453, allocations: 8 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.008686, allocations: 103.8 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.008747, allocations: 23.86 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.00879, allocations: 12 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.009065, allocations: 151.4 kB / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/0.009085, allocations: 0 / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009086, allocations: 0 / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.009103, allocations: 0 / 295 MB, free: 3.891 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.0005522/0.009655, allocations: 352.4 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.009691, allocations: 12.03 kB / 295.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.009731, allocations: 8.922 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.009936, allocations: 146.1 kB / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.009955, allocations: 384 / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.009976, allocations: 4.375 kB / 295.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.01018, allocations: 108.5 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.0102, allocations: 0 / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.01021, allocations: 4 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01021, allocations: 0 / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.01024, allocations: 18.81 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.01049, allocations: 169.9 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.0106, allocations: 81.3 kB / 295.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.01062, allocations: 24.78 kB / 295.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.01064, allocations: 0 / 295.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.01076, allocations: 62.17 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.01076, allocations: 0 / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003893/0.01115, allocations: 113.6 kB / 296.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.01119, allocations: 55.41 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01131, allocations: 169.2 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.01132, allocations: 25.7 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.01143, allocations: 92.11 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.01146, allocations: 27.75 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.0115, allocations: 29.64 kB / 296.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.01158, allocations: 318.8 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.0116, allocations: 14.81 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.01164, allocations: 56.27 kB / 296.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.01168, allocations: 44.48 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01169, allocations: 4 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.651e-05/0.01177, allocations: 68.44 kB / 297 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01179, allocations: 8 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01179, allocations: 0 / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.0118, allocations: 3.938 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.01188, allocations: 23.92 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01188, allocations: 0 / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.01191, allocations: 4 kB / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.01192, allocations: 0 / 297 MB, free: 1.68 MB / 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 7.828e-05/0.012, allocations: 128.6 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.01201, allocations: 11.98 kB / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.01213, allocations: 74.55 kB / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01213, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01214, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01214, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.01238, allocations: 299.4 kB / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01239, allocations: 0 / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.01242, allocations: 8 kB / 297.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.01243, allocations: 11.94 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01243, allocations: 8.031 kB / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.01244, allocations: 0 / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01244, allocations: 0 / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01244, allocations: 0 / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.01256, allocations: 223 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01258, allocations: 4 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.01261, allocations: 8.359 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.01264, allocations: 7.984 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01265, allocations: 8 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.01269, allocations: 42.7 kB / 297.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01269, allocations: 4 kB / 297.8 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.01289, allocations: 51.8 kB / 297.9 MB, free: 0.7422 MB / 282.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.001925/0.01481, allocations: 0.7788 MB / 298.7 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01492, allocations: 40.84 kB / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.01493, allocations: 0 / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.01496, allocations: 28.78 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01515, allocations: 47.67 kB / 298.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.01562, allocations: 199.6 kB / 299 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.01569, allocations: 71.27 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.01574, allocations: 25.39 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.01582, allocations: 75.34 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01582, allocations: 0 / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of Templates: time 0.0048/0.02062, allocations: 2.801 MB / 301.9 MB, free: 13.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0986930737271905]