Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001104/0.001104, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002839, allocations: 452 kB / 10.43 MB, free: 264 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.001159/0.001159, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002734, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9273/0.9273, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1475/1.075, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] 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.1287/0.1287, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0225/0.1512, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 3.984 kB / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.999e-05, allocations: 10.19 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003/0.00302, allocations: 1.97 MB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004168, allocations: 0.8503 MB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.004267, allocations: 0 / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.004487, allocations: 51.52 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.004651, allocations: 63.58 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.004879, allocations: 107.6 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.005071, allocations: 135.6 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.005167, allocations: 34.31 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.00531, allocations: 92.5 kB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.005404, allocations: 43.81 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.005428, allocations: 8 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.008528, allocations: 51.86 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.008582, allocations: 15.94 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.008629, allocations: 23.88 kB / 270.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.008856, allocations: 119.5 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.008867, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008868, allocations: 0 / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.00888, allocations: 0 / 271 MB, free: 14.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005577/0.009437, allocations: 409.3 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.009482, allocations: 12.03 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.009532, allocations: 12.92 kB / 271.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.009742, allocations: 157.5 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.009765, allocations: 8.375 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.009793, allocations: 8.125 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.009984, allocations: 137.3 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.009993, allocations: 0 / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.01, allocations: 4 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01001, allocations: 4 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.01006, allocations: 30.73 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.01046, allocations: 378.1 kB / 272.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01065, allocations: 109.2 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.01068, allocations: 16.86 kB / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.01069, allocations: 0 / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.01082, allocations: 99.91 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.01082, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000151/0.01097, allocations: 77.81 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.011, allocations: 51.41 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.01113, allocations: 185 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.01116, allocations: 25.7 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.01121, allocations: 112 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.01123, allocations: 27.73 kB / 272.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.01128, allocations: 29.7 kB / 272.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.003113/0.01439, allocations: 330.7 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.01442, allocations: 14.83 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.01446, allocations: 52.2 kB / 273.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.01453, allocations: 73.84 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01454, allocations: 0 / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001519/0.01469, allocations: 92.36 kB / 273.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.0147, allocations: 12.12 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.0147, allocations: 0 / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01472, allocations: 0 / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.0148, allocations: 31.92 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01481, allocations: 3.984 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.01485, allocations: 11.95 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.01486, allocations: 7.938 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.234e-05/0.01493, allocations: 124.6 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.01495, allocations: 8 kB / 273.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.01506, allocations: 79.06 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01506, allocations: 4 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.01506, allocations: 0 / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01506, allocations: 4 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.01516, allocations: 97.78 kB / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01516, allocations: 4 kB / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.01522, allocations: 15.98 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01524, allocations: 15.84 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01524, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.01525, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01525, allocations: 3.938 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01525, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01539, allocations: 122.7 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01541, allocations: 4 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.01544, allocations: 4 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.01547, allocations: 11.92 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01548, allocations: 4 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.01553, allocations: 53.55 kB / 274 MB, free: 11.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01553, allocations: 0 / 274 MB, free: 11.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00018/0.01571, allocations: 31.92 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001413/0.01712, allocations: 0.5549 MB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.02025, allocations: 48.72 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.02026, allocations: 4 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.02031, allocations: 28.84 kB / 274.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.02055, allocations: 239.8 kB / 274.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.02113, allocations: 272.4 kB / 275.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.02117, allocations: 67.83 kB / 275.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.02123, allocations: 17.14 kB / 275.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.02132, allocations: 75.34 kB / 275.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02132, allocations: 0 / 275.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of Templates: time 0.00738/0.0287, allocations: 2.251 MB / 277.6 MB, free: 7.891 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7530042929574847]