Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001507/0.001507, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001175/0.001175, allocations: 170.6 kB / 24.91 MB, free: 8.777 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 0.9931/0.9931, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2688/0.2688, allocations: 32.81 MB / 294.6 MB, free: 0.6914 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 323.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.999e-05, allocations: 2.312 kB / 323.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002514/0.002534, allocations: 1.803 MB / 325.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003877, allocations: 1.005 MB / 326.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.003966, allocations: 3.938 kB / 326.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.004255, allocations: 39.7 kB / 326.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.004547, allocations: 91.53 kB / 326.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.004776, allocations: 75.62 kB / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.004946, allocations: 115.5 kB / 326.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.005034, allocations: 9.375 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.005115, allocations: 55.88 kB / 326.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.005191, allocations: 27.86 kB / 326.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005206, allocations: 4 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.005287, allocations: 43.92 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.00533, allocations: 19.91 kB / 326.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.005361, allocations: 19.92 kB / 326.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.005521, allocations: 103.6 kB / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005523, allocations: 0 / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005524, allocations: 0 / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.005529, allocations: 4 kB / 326.8 MB, free: 5.992 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003312/0.00586, allocations: 321.4 kB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.00589, allocations: 8.031 kB / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.005917, allocations: 8.938 kB / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.006052, allocations: 138.3 kB / 327.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.006067, allocations: 12.3 kB / 327.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.006081, allocations: 4.375 kB / 327.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.006176, allocations: 61.77 kB / 327.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.006185, allocations: 7.938 kB / 327.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.006192, allocations: 0 / 327.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.006196, allocations: 4 kB / 327.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.006218, allocations: 4 kB / 327.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.006405, allocations: 165.9 kB / 327.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.006489, allocations: 93.28 kB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.006507, allocations: 12.84 kB / 327.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.006517, allocations: 4 kB / 327.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/0.006596, allocations: 58.16 kB / 327.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.006598, allocations: 0 / 327.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003041/0.006902, allocations: 125.5 kB / 327.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.006933, allocations: 55.41 kB / 327.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.007041, allocations: 170.1 kB / 328 MB, free: 4.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.007056, allocations: 29.7 kB / 328 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.007093, allocations: 92.11 kB / 328.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.007121, allocations: 27.73 kB / 328.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.007153, allocations: 21.72 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.007238, allocations: 330.8 kB / 328.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.007253, allocations: 6.828 kB / 328.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.007278, allocations: 25.66 kB / 328.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.007329, allocations: 52.5 kB / 328.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.00733, allocations: 384 / 328.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.072e-05/0.00741, allocations: 72.38 kB / 328.6 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.007423, allocations: 4 kB / 328.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007428, allocations: 0 / 328.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007439, allocations: 3.938 kB / 328.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.007502, allocations: 20 kB / 328.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007508, allocations: 3.984 kB / 328.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.007533, allocations: 4 kB / 328.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007542, allocations: 8 kB / 328.7 MB, free: 3.898 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 (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.72e-05/0.00762, allocations: 127.6 kB / 328.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.007636, allocations: 15.92 kB / 328.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.007745, allocations: 67.14 kB / 328.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.007748, allocations: 7.938 kB / 328.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007749, allocations: 0 / 328.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007753, allocations: 0 / 328.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.00796, allocations: 295.4 kB / 329.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.007962, allocations: 4 kB / 329.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.007985, allocations: 8 kB / 329.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007988, allocations: 4.031 kB / 329.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.007994, allocations: 0 / 329.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.007997, allocations: 4 kB / 329.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007999, allocations: 0 / 329.2 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.008101, allocations: 219 kB / 329.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.008112, allocations: 11.91 kB / 329.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.008126, allocations: 0 / 329.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.008163, allocations: 4 kB / 329.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.008189, allocations: 11.98 kB / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.0082, allocations: 0 / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.00824, allocations: 52.33 kB / 329.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00824, allocations: 0 / 329.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.008389, allocations: 27.94 kB / 329.5 MB, free: 2.988 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.001241/0.00963, allocations: 0.5734 MB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.009742, allocations: 40.78 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.009747, allocations: 3.938 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.00978, allocations: 28.8 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.009977, allocations: 31.84 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.01035, allocations: 228 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.01039, allocations: 63.34 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.01044, allocations: 25.39 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.01051, allocations: 71.36 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01052, allocations: 0 / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of Templates: time 0.003742/0.01426, allocations: 2.008 MB / 332.6 MB, free: 208 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 2.9118957449682057]