Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001101/0.001101, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001202/0.001202, allocations: 165.2 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 0.9833/0.9833, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.2231/0.2231, allocations: 32.81 MB / 295.4 MB, free: 15.37 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 4 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.693e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003085/0.003112, allocations: 1.704 MB / 379.1 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004532, allocations: 0.9741 MB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.00462, allocations: 7.938 kB / 380 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.004956, allocations: 51.73 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.005198, allocations: 99.53 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.005336, allocations: 83.59 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.005469, allocations: 99.64 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.00551, allocations: 4.234 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.005588, allocations: 55.81 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.005656, allocations: 19.92 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.005673, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.005734, allocations: 39.92 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.005776, allocations: 27.84 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.005804, allocations: 19.94 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005942, allocations: 107.5 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005946, allocations: 0 / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005947, allocations: 4 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005952, allocations: 0 / 380.6 MB, free: 22.2 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.0003501/0.006302, allocations: 471.7 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.006334, allocations: 11.98 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.006372, allocations: 16.84 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.006507, allocations: 161.3 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.006522, allocations: 4.359 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.00653, allocations: 384 / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.006619, allocations: 58.89 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.006631, allocations: 7.875 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.006638, allocations: 7.984 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006644, allocations: 4 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.006664, allocations: 4 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.006766, allocations: 125.2 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.596e-05/0.006842, allocations: 47.11 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.006859, allocations: 11.69 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.006869, allocations: 0 / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/0.006948, allocations: 68.98 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 7.22e-07/0.006948, allocations: 0 / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001439/0.007092, allocations: 89.52 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.007115, allocations: 55.41 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007218, allocations: 274.5 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.007226, allocations: 25.7 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.007262, allocations: 166.8 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.007289, allocations: 19.83 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.007316, allocations: 27.36 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.007367, allocations: 0.504 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.007382, allocations: 7.984 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.007403, allocations: 23.38 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.007435, allocations: 43.34 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007437, allocations: 0 / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.761e-05/0.007505, allocations: 69.53 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.007515, allocations: 8 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00752, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.007529, allocations: 3.938 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.007588, allocations: 8 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.007592, allocations: 4 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.007621, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.007626, allocations: 8.031 kB / 382.9 MB, free: 19.68 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 4.971e-05/0.007676, allocations: 160.5 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.00769, allocations: 15.91 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.523e-05/0.007785, allocations: 82.83 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007787, allocations: 3.938 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007789, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.007792, allocations: 384 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.019e-05/0.007862, allocations: 137.1 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007864, allocations: 4 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.007881, allocations: 4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007883, allocations: 4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.007887, allocations: 0 / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007889, allocations: 3.984 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.007891, allocations: 7.938 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.639e-05/0.007957, allocations: 112.3 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.007971, allocations: 15.84 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.007987, allocations: 7.984 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.008008, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.00803, allocations: 4 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.008041, allocations: 7.938 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.008092, allocations: 192.5 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008092, allocations: 0 / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.008241, allocations: 20 kB / 383.7 MB, free: 18.84 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.0008012/0.009042, allocations: 386.7 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.374e-05/0.009126, allocations: 43.59 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009128, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.009151, allocations: 23.67 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.009329, allocations: 34.7 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.009614, allocations: 240.4 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.344e-05/0.009637, allocations: 79.12 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.009664, allocations: 4.812 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.009712, allocations: 90.19 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009713, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of Templates: time 0.003256/0.01297, allocations: 1.83 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.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.409855479840189]