Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009666/0.0009666, 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.001252/0.001252, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.99/0.99, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1423/0.1423, allocations: 34.27 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 325.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.141e-05, allocations: 2.312 kB / 325.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002058/0.00207, allocations: 1.831 MB / 327.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.003161, allocations: 1.009 MB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.00322, allocations: 4 kB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.003454, allocations: 107.6 kB / 328.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.003675, allocations: 127.4 kB / 328.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.00382, allocations: 79.61 kB / 328.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003948, allocations: 119.7 kB / 328.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.369e-05/0.004012, allocations: 27.97 kB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.00409, allocations: 75.73 kB / 328.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.00416, allocations: 51.88 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.004175, allocations: 4 kB / 328.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.004273, allocations: 63.91 kB / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.004311, allocations: 27.86 kB / 328.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.004342, allocations: 27.86 kB / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004487, allocations: 119.5 kB / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004489, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004489, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004492, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003168/0.004809, allocations: 363.8 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.533e-05/0.004834, allocations: 8.031 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.004862, allocations: 8.938 kB / 329.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004998, allocations: 153.5 kB / 329.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.00501, allocations: 4.375 kB / 329.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.005025, allocations: 4.375 kB / 329.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/0.005112, allocations: 65.7 kB / 329.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.005122, allocations: 7.938 kB / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.005129, allocations: 0 / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.005136, allocations: 3.984 kB / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.005163, allocations: 19.98 kB / 329.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.005347, allocations: 173.9 kB / 329.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.005596, allocations: 97.23 kB / 329.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.005618, allocations: 12.84 kB / 329.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005629, allocations: 4 kB / 329.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/0.005701, allocations: 70.34 kB / 330 MB, free: 11.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005702, allocations: 0 / 330 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003491/0.006051, allocations: 173.8 kB / 330.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.006075, allocations: 55.41 kB / 330.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.006197, allocations: 208.3 kB / 330.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.006212, allocations: 29.7 kB / 330.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.006242, allocations: 100.1 kB / 330.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.00627, allocations: 39.69 kB / 330.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.0063, allocations: 21.7 kB / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.00638, allocations: 330.8 kB / 331 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.006398, allocations: 14.81 kB / 331 MB, free: 10.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.006424, allocations: 25.7 kB / 331 MB, free: 10.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.006473, allocations: 56.45 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006474, allocations: 0 / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.027e-05/0.006554, allocations: 84.42 kB / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.006564, allocations: 4 kB / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006568, allocations: 3.938 kB / 331.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.006578, allocations: 4 kB / 331.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.006629, allocations: 23.92 kB / 331.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.006632, allocations: 0 / 331.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.006659, allocations: 12 kB / 331.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006664, allocations: 32 / 331.2 MB, free: 10.63 MB / 314.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 (13): * Single equations (assignments): 13 * 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.246e-05/0.006727, allocations: 124.6 kB / 331.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.00674, allocations: 11.98 kB / 331.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.006858, allocations: 95.22 kB / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00686, allocations: 0 / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.006862, allocations: 0 / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.006866, allocations: 3.984 kB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.007119, allocations: 336.1 kB / 331.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00712, allocations: 0 / 331.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.007152, allocations: 23.98 kB / 331.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007155, allocations: 4 kB / 331.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007161, allocations: 0 / 331.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.007162, allocations: 0 / 331.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.007164, allocations: 4 kB / 331.8 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007272, allocations: 231.8 kB / 332 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.007284, allocations: 15.84 kB / 332 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.0073, allocations: 11.98 kB / 332 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.007339, allocations: 0 / 332 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.007361, allocations: 7.984 kB / 332 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.007372, allocations: 7.938 kB / 332 MB, free: 9.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.989e-05/0.007422, allocations: 80.62 kB / 332.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007422, allocations: 0 / 332.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.007568, allocations: 31.92 kB / 332.1 MB, free: 9.586 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001273/0.008841, allocations: 0.6425 MB / 332.8 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.008936, allocations: 64.58 kB / 332.9 MB, free: 9.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.00894, allocations: 4 kB / 332.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.008978, allocations: 32.84 kB / 332.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.009146, allocations: 37.3 kB / 332.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.009451, allocations: 276.4 kB / 333.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.009495, allocations: 79.27 kB / 333.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.009535, allocations: 20.62 kB / 333.3 MB, free: 8.695 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.009603, allocations: 71.48 kB / 333.4 MB, free: 8.625 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009604, allocations: 0 / 333.4 MB, free: 8.625 MB / 314.7 MB Notification: Performance of Templates: time 0.003607/0.01321, allocations: 2.302 MB / 335.7 MB, free: 6.359 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.0350472731515765]