Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009831/0.0009831, allocations: 80.8 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.001965/0.001965, allocations: 174.3 kB / 24.92 MB, free: 8.762 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2857/0.2857, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 323.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.747e-05/3.952e-05, allocations: 3.188 kB / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004237/0.004276, allocations: 1.81 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.006268, allocations: 1.001 MB / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.006375, allocations: 3.938 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.006769, allocations: 47.77 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.007201, allocations: 99.47 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.007501, allocations: 75.61 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.007727, allocations: 107.6 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.007835, allocations: 17.3 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.007989, allocations: 47.89 kB / 326.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.008096, allocations: 27.91 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.008118, allocations: 8 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.008286, allocations: 43.92 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.00835, allocations: 31.86 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.008396, allocations: 19.92 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.00863, allocations: 111.5 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.008635, allocations: 0 / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008637, allocations: 0 / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.008643, allocations: 0 / 326.8 MB, free: 6.133 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.0005147/0.009157, allocations: 329.3 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.009205, allocations: 12.03 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.009249, allocations: 8.922 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.009469, allocations: 154.4 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.00949, allocations: 4.375 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.009514, allocations: 4.312 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.009663, allocations: 73.75 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.009675, allocations: 3.938 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.009684, allocations: 0 / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00969, allocations: 0 / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.009729, allocations: 8 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.01003, allocations: 165.9 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.01016, allocations: 93.22 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.01019, allocations: 20.86 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.0102, allocations: 0 / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.01033, allocations: 66.14 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.01033, allocations: 0 / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004039/0.01074, allocations: 117.5 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.01078, allocations: 55.39 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01095, allocations: 193.6 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.01097, allocations: 33.69 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.01102, allocations: 96.08 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.01106, allocations: 31.77 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.01115, allocations: 21.72 kB / 328.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01125, allocations: 330.8 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.0113, allocations: 6.828 kB / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.01133, allocations: 29.64 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.01138, allocations: 40.52 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01138, allocations: 0 / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001006/0.01148, allocations: 76.36 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.0115, allocations: 8.031 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.0115, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01152, allocations: 4 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.0116, allocations: 19.98 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.0116, allocations: 0 / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.01163, allocations: 8 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01164, allocations: 0 / 328.8 MB, free: 3.977 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 0.0001165/0.01176, allocations: 121.5 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.01178, allocations: 15.92 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.01192, allocations: 75.12 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01193, allocations: 4 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01193, allocations: 384 / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01193, allocations: 7.922 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.01219, allocations: 287.5 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.01219, allocations: 8 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.01222, allocations: 15.92 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01223, allocations: 0 / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.01223, allocations: 4 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01224, allocations: 4 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01224, allocations: 3.938 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.01234, allocations: 215 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.01236, allocations: 15.89 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.01238, allocations: 8 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.01242, allocations: 0 / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.01245, allocations: 7.984 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01247, allocations: 4 kB / 329.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.01253, allocations: 60.22 kB / 329.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01253, allocations: 4 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.01269, allocations: 27.92 kB / 329.6 MB, free: 3.035 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.001303/0.01399, allocations: 0.5788 MB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.01409, allocations: 36.78 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.01409, allocations: 0 / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.01413, allocations: 40.83 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.01431, allocations: 23.92 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.01465, allocations: 246.5 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01469, allocations: 67.34 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.01473, allocations: 17.28 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.0148, allocations: 67.36 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0148, allocations: 0 / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of Templates: time 0.003607/0.0184, allocations: 2.036 MB / 332.7 MB, free: 220 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.2031247559934855]