Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001115/0.001115, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001118/0.001118, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 158.6 MB / 186 MB, free: 2.523 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1782/0.1782, allocations: 32.36 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.135e-05, allocations: 14.19 kB / 347.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002544/0.002575, allocations: 1.73 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.003561, allocations: 0.792 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.003628, allocations: 0 / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.003804, allocations: 43.75 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.003955, allocations: 59.7 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.004136, allocations: 87.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.004239, allocations: 95.7 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.004292, allocations: 8.219 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.004372, allocations: 55.77 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.004452, allocations: 19.92 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.004473, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.004565, allocations: 43.92 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.004627, allocations: 31.91 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.004673, allocations: 23.92 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004863, allocations: 99.53 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004866, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004867, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.004873, allocations: 0 / 350.8 MB, free: 6.59 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.000461/0.005334, allocations: 451.9 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.005379, allocations: 8.031 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.005444, allocations: 16.84 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005619, allocations: 149.8 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.005641, allocations: 384 / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.005665, allocations: 8.375 kB / 351.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005804, allocations: 62.88 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.005823, allocations: 7.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.005833, allocations: 4 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.005844, allocations: 0 / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.005883, allocations: 11.98 kB / 351.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.00621, allocations: 283.8 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.006329, allocations: 55.11 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.006363, allocations: 19.62 kB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006378, allocations: 11.94 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.006485, allocations: 65.05 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006486, allocations: 0 / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004382/0.006924, allocations: 153.4 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.006954, allocations: 51.41 kB / 352.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.007081, allocations: 232 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.007091, allocations: 29.7 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.007144, allocations: 150.9 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.007182, allocations: 35.72 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.007221, allocations: 27.38 kB / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.007316, allocations: 0.5001 MB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.007344, allocations: 12.36 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.007386, allocations: 39.3 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.007444, allocations: 47.31 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007446, allocations: 4 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.007549, allocations: 89.58 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007565, allocations: 4 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.007573, allocations: 4 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.007592, allocations: 8.016 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.007678, allocations: 12 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.007686, allocations: 0 / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.007725, allocations: 4 kB / 353.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.007731, allocations: 4 kB / 353.4 MB, free: 3.848 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 8.421e-05/0.007815, allocations: 168.4 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.007832, allocations: 15.91 kB / 353.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.007981, allocations: 111.2 kB / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007983, allocations: 0 / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007987, allocations: 0 / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.007991, allocations: 4 kB / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.008227, allocations: 393 kB / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008229, allocations: 4 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.008248, allocations: 8 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.00825, allocations: 3.984 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.008261, allocations: 3.984 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008263, allocations: 4 kB / 354.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008263, allocations: 0 / 354.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.008393, allocations: 263.3 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.008404, allocations: 7.953 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.008421, allocations: 8.031 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.008458, allocations: 4 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.008504, allocations: 7.984 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.008517, allocations: 4 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.008578, allocations: 171.8 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008578, allocations: 0 / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.008768, allocations: 27.92 kB / 354.5 MB, free: 2.574 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.001013/0.009781, allocations: 442.7 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.009917, allocations: 67.53 kB / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00992, allocations: 0 / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.00996, allocations: 27.67 kB / 355.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.01021, allocations: 36.16 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.01064, allocations: 221 kB / 355.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.03e-05/0.01068, allocations: 71.33 kB / 355.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.01073, allocations: 20.59 kB / 355.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.01076, allocations: 16.5 kB / 355.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01076, allocations: 0 / 355.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of Templates: time 0.004033/0.01479, allocations: 1.842 MB / 357.3 MB, free: 15.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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: 4.169646614231169]