Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009254/0.0009254, allocations: 80.92 kB / 21.49 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.001042/0.001042, allocations: 170.5 kB / 24.91 MB, free: 9.188 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.9135/0.9135, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2528/0.2528, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.552e-05, allocations: 7.406 kB / 323.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002272/0.002288, allocations: 1.754 MB / 325.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.003964, allocations: 1.734 MB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.004019, allocations: 0 / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.004189, allocations: 35.77 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.004433, allocations: 111.3 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.00458, allocations: 75.67 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.004696, allocations: 115.5 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.004743, allocations: 9.375 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.004809, allocations: 55.88 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.004884, allocations: 31.84 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.004895, allocations: 12 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.005026, allocations: 103.8 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.005059, allocations: 27.91 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.005083, allocations: 15.94 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.00525, allocations: 163.5 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.005252, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005252, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.465e-06/0.005255, allocations: 0 / 327.5 MB, free: 5.336 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.0002618/0.005517, allocations: 333.2 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.134e-05/0.005538, allocations: 8.031 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.00556, allocations: 16.92 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.005668, allocations: 138.2 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.005676, allocations: 384 / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.005689, allocations: 8.375 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.005774, allocations: 104.5 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005783, allocations: 7.922 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.005789, allocations: 4 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.005793, allocations: 3.938 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.005812, allocations: 10.83 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.00596, allocations: 165.8 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.006064, allocations: 89.28 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.006086, allocations: 24.84 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.006093, allocations: 0 / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.006151, allocations: 62.16 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.006153, allocations: 3.984 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002062/0.006359, allocations: 113.6 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.006388, allocations: 77.11 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.006474, allocations: 156.3 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.006486, allocations: 33.7 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.006514, allocations: 92.11 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.006536, allocations: 31.73 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.006562, allocations: 21.7 kB / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.006633, allocations: 322.8 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.006646, allocations: 10.83 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.006676, allocations: 56.27 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.006714, allocations: 48.45 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006714, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.256e-05/0.006777, allocations: 76.47 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.006786, allocations: 8 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.006788, allocations: 0 / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.006797, allocations: 0 / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.006838, allocations: 16.36 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.00684, allocations: 0 / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.006863, allocations: 4 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006868, allocations: 4 kB / 329.6 MB, free: 3.117 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.345e-05/0.006942, allocations: 124.6 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.006954, allocations: 8 kB / 329.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.007038, allocations: 86.39 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.007039, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.00704, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007043, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.007225, allocations: 291.4 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007226, allocations: 0 / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.007245, allocations: 15.92 kB / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.007246, allocations: 0 / 330.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.007253, allocations: 7.938 kB / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007254, allocations: 0 / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007255, allocations: 4.031 kB / 330.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.818e-05/0.007343, allocations: 211.1 kB / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007354, allocations: 11.94 kB / 330.3 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.007369, allocations: 7.938 kB / 330.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.468e-05/0.007404, allocations: 0 / 330.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.007425, allocations: 15.97 kB / 330.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.007432, allocations: 4 kB / 330.3 MB, free: 2.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.007468, allocations: 39.52 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007468, allocations: 0 / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000163/0.007631, allocations: 51.86 kB / 330.4 MB, free: 2.191 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.001316/0.008947, allocations: 0.715 MB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.009022, allocations: 36.78 kB / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.009025, allocations: 3.938 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.009052, allocations: 32.89 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.00919, allocations: 43.23 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.009419, allocations: 199.7 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.009451, allocations: 63.34 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.009485, allocations: 12.97 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.009554, allocations: 75.34 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.009554, allocations: 0 / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of Templates: time 0.003512/0.01307, allocations: 2.772 MB / 334.4 MB, free: 14.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.790433312766254]