Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001023/0.001023, 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.001162/0.001162, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.963/0.963, allocations: 177.1 MB / 206 MB, free: 4.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.1511/0.1511, 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.901e-05, allocations: 2.312 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001893/0.001912, allocations: 1.707 MB / 379 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002931, allocations: 0.9858 MB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.003008, allocations: 0 / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.003312, allocations: 59.69 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.003732, allocations: 99.53 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.004021, allocations: 71.61 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.004255, allocations: 103.6 kB / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.00432, allocations: 4.234 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.00448, allocations: 59.83 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.004574, allocations: 23.91 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.004599, allocations: 4 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.004678, allocations: 31.92 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.004734, allocations: 31.86 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.004768, allocations: 15.94 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.004955, allocations: 99.59 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004958, allocations: 0 / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004959, allocations: 4 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.004964, allocations: 0 / 380.6 MB, free: 22.22 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004236/0.005388, allocations: 487.6 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005428, allocations: 11.98 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.005465, allocations: 16.84 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005609, allocations: 157.3 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.005628, allocations: 4.375 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.005636, allocations: 4.312 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.005738, allocations: 54.94 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005746, allocations: 3.938 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.005752, allocations: 4 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.005758, allocations: 0 / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.00578, allocations: 8 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.005887, allocations: 133.2 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.264e-05/0.00597, allocations: 43.09 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.005989, allocations: 15.69 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.006001, allocations: 3.984 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.515e-05/0.006076, allocations: 65.06 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.006077, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001443/0.006221, allocations: 89.45 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.006243, allocations: 51.41 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.006343, allocations: 278.5 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.006352, allocations: 33.69 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.006388, allocations: 166.8 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.006412, allocations: 11.91 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.006436, allocations: 23.38 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.006488, allocations: 0.5001 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.006504, allocations: 7.984 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.006524, allocations: 31.36 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.006557, allocations: 39.3 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006559, allocations: 4 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.765e-05/0.006627, allocations: 69.53 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006639, allocations: 8 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006643, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.006653, allocations: 3.938 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.006707, allocations: 8 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.006711, allocations: 4 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.00674, allocations: 3.984 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.006745, allocations: 4 kB / 382.9 MB, free: 19.69 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 (7): * Single equations (assignments): 7 * 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 5.133e-05/0.006796, allocations: 156.6 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.00681, allocations: 19.91 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.00691, allocations: 86.77 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006913, allocations: 3.938 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006915, allocations: 4.312 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006918, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.431e-05/0.006992, allocations: 125.2 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006993, allocations: 8 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.00701, allocations: 4 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007011, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.007018, allocations: 3.984 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.007019, allocations: 4 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00702, allocations: 0 / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.007097, allocations: 124.2 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.007113, allocations: 15.84 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.007128, allocations: 7.984 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.007151, allocations: 4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.007177, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.007189, allocations: 11.92 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.007243, allocations: 180.5 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007243, allocations: 0 / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.007404, allocations: 20 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008316/0.008236, allocations: 390.7 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.008336, allocations: 35.61 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008337, allocations: 4.062 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.008362, allocations: 19.67 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.008552, allocations: 42.5 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.008847, allocations: 236.5 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.008874, allocations: 83.12 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.008902, allocations: 4.75 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.008951, allocations: 86.19 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008951, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Templates: time 0.003596/0.01255, allocations: 1.838 MB / 386.4 MB, free: 16.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.35945258801803]