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.001239/0.001239, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001463/0.001463, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.016/1.016, allocations: 177.1 MB / 206 MB, free: 4.5 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.1436/0.1436, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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 1.923e-06/1.923e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.664e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003275/0.003302, allocations: 1.743 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.004841, allocations: 0.9936 MB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004981, allocations: 3.938 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.005401, allocations: 47.75 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.005814, allocations: 99.47 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.006111, allocations: 79.61 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.006325, allocations: 123.5 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.006446, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.006578, allocations: 47.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.006693, allocations: 31.89 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.006714, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.006826, allocations: 43.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.006905, allocations: 27.91 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.006952, allocations: 23.88 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.007186, allocations: 103.6 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.007189, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.007191, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.007197, allocations: 4 kB / 380.7 MB, free: 22.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004819/0.007679, allocations: 471.7 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.007723, allocations: 11.98 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.007781, allocations: 16.84 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.008011, allocations: 157.2 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.008048, allocations: 12.31 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.008073, allocations: 384 / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.008227, allocations: 66.92 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.008242, allocations: 3.938 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.008251, allocations: 0 / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.008258, allocations: 4 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.00829, allocations: 11.98 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.008564, allocations: 260.4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.008666, allocations: 55.09 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.008691, allocations: 11.69 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.008705, allocations: 4 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.008814, allocations: 68.97 kB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.008815, allocations: 0 / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003577/0.009173, allocations: 141.5 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.009198, allocations: 55.39 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.009327, allocations: 252.9 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.009339, allocations: 29.7 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.009392, allocations: 158.8 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.009419, allocations: 19.86 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.00946, allocations: 39.28 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.009527, allocations: 0.5001 MB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.009546, allocations: 7.984 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.009577, allocations: 27.38 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.009632, allocations: 51.34 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009633, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.009757, allocations: 89.47 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.00977, allocations: 4 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009776, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.009787, allocations: 4 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.009865, allocations: 19.98 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-06/0.009869, allocations: 3.938 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.00991, allocations: 4.375 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.009916, allocations: 4.031 kB / 383.2 MB, free: 19.37 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 (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 6.055e-05/0.009976, allocations: 167 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.009999, allocations: 23.78 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.01014, allocations: 99.22 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01015, allocations: 11.98 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01015, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01016, allocations: 0 / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.01043, allocations: 373.5 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01043, allocations: 0 / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.01047, allocations: 12.02 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01048, allocations: 8 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.01048, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01049, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01049, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.01063, allocations: 259.4 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.01065, allocations: 7.953 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01067, allocations: 8 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.01074, allocations: 3.984 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.01077, allocations: 4 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01078, allocations: 7.984 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.01085, allocations: 175.1 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01085, allocations: 0 / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01112, allocations: 27.98 kB / 384.4 MB, free: 18.12 MB / 314.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.001152/0.01227, allocations: 435.4 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.0124, allocations: 51.52 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.0124, allocations: 4 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.01244, allocations: 23.69 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01278, allocations: 42.31 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.01317, allocations: 257.3 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.01321, allocations: 67.34 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.391e-05/0.01325, allocations: 12.97 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.01332, allocations: 90.12 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01332, allocations: 0 / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of Templates: time 0.00449/0.01781, allocations: 2.071 MB / 387.4 MB, free: 15.23 MB / 314.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 -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.2180049302987754]