Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001631/0.001631, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001343/0.001343, allocations: 166.9 kB / 24.91 MB, free: 9.152 MB / 18.57 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.2883/0.2883, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.58e-05, allocations: 2.312 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002986/0.003011, allocations: 1.795 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.005045, allocations: 1.742 MB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.005139, allocations: 0 / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.005455, allocations: 35.77 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.005893, allocations: 99.47 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.006116, allocations: 83.56 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.006277, allocations: 115.7 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.006362, allocations: 9.375 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.006461, allocations: 67.75 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.006572, allocations: 35.89 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.00659, allocations: 8 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.006787, allocations: 107.8 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.006833, allocations: 23.86 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.006873, allocations: 27.91 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.007106, allocations: 167.5 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00711, allocations: 4 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007111, allocations: 4 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007116, allocations: 0 / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003887/0.007504, allocations: 333.2 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.007537, allocations: 8.031 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.007572, allocations: 12.92 kB / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.00774, allocations: 152.8 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.007764, allocations: 4.375 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.007785, allocations: 4.359 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.007924, allocations: 113.2 kB / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.007934, allocations: 3.938 kB / 328.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.007942, allocations: 7.984 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.007948, allocations: 3.984 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.007984, allocations: 18.77 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.008214, allocations: 173.9 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.008311, allocations: 89.3 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.008333, allocations: 12.86 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.008344, allocations: 0 / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.008445, allocations: 74.2 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.008446, allocations: 7.938 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003319/0.008778, allocations: 125.5 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.008815, allocations: 81.11 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.008917, allocations: 162.9 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.008932, allocations: 29.7 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.008962, allocations: 96.05 kB / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.00899, allocations: 35.72 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.009023, allocations: 21.72 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.009098, allocations: 326.8 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.009116, allocations: 10.83 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.009154, allocations: 60.92 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.009203, allocations: 51.27 kB / 329.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009204, allocations: 0 / 329.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.649e-05/0.009291, allocations: 80.38 kB / 329.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.009303, allocations: 4 kB / 329.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009309, allocations: 4 kB / 329.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.009323, allocations: 0 / 329.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.009388, allocations: 15.98 kB / 329.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.009392, allocations: 4 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.00942, allocations: 4.062 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009427, allocations: 4 kB / 329.8 MB, free: 2.906 MB / 298.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 (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 6.534e-05/0.009492, allocations: 120.6 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.009507, allocations: 11.92 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.009618, allocations: 87.47 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00962, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.009622, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.009626, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.009857, allocations: 311.5 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.00986, allocations: 4.016 kB / 330.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.009893, allocations: 20 kB / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009895, allocations: 0 / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.009904, allocations: 8 kB / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009905, allocations: 0 / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009907, allocations: 0 / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.01002, allocations: 223 kB / 330.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.01003, allocations: 15.91 kB / 330.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01005, allocations: 4 kB / 330.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.0101, allocations: 7.984 kB / 330.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.01013, allocations: 7.984 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01014, allocations: 8 kB / 330.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.01018, allocations: 45.17 kB / 330.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01018, allocations: 0 / 330.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.01037, allocations: 55.81 kB / 330.7 MB, free: 1.93 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 (11): * Single equations (assignments): 9 * 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.001441/0.01182, allocations: 0.7074 MB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01193, allocations: 44.78 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01193, allocations: 0 / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.01196, allocations: 28.78 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.01215, allocations: 41.64 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.01248, allocations: 231.6 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.01252, allocations: 63.34 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.01257, allocations: 20.77 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.01265, allocations: 79.36 kB / 331.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01265, allocations: 0 / 331.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of Templates: time 0.004367/0.01701, allocations: 2.923 MB / 334.8 MB, free: 14.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0935193630866706]