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.001012/0.001012, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001021/0.001021, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9745/0.9745, allocations: 177.2 MB / 205 MB, free: 5.301 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.2372/0.2372, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.883e-06/1.883e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.295e-05, allocations: 6.25 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.005561/0.005584, allocations: 1.774 MB / 377.9 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.007249, allocations: 1.726 MB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.007315, allocations: 4 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.007585, allocations: 35.77 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.007871, allocations: 107.4 kB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.008, allocations: 79.61 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.008137, allocations: 107.6 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.008217, allocations: 7.984 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.008291, allocations: 59.83 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.008388, allocations: 35.89 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.008404, allocations: 4 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.008536, allocations: 111.8 kB / 380.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.008584, allocations: 15.92 kB / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.008626, allocations: 27.91 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.008847, allocations: 159.5 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00885, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00885, allocations: 0 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.008855, allocations: 0 / 380.3 MB, free: 332 kB / 346.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.0004507/0.009306, allocations: 455.7 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.009338, allocations: 8.031 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.009384, allocations: 12.89 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.009553, allocations: 153 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.00957, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.009591, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.00973, allocations: 107.4 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.009739, allocations: 7.891 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.009749, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.009755, allocations: 3.984 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.009788, allocations: 11.98 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.01006, allocations: 283.8 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.932e-05/0.01016, allocations: 63.11 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.01018, allocations: 15.67 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.01019, allocations: 4 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.153e-05/0.01029, allocations: 65.05 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.01029, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.01066, allocations: 153.3 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.01069, allocations: 81.11 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.01081, allocations: 216 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.01083, allocations: 33.69 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.01087, allocations: 138.9 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.01089, allocations: 31.78 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.01093, allocations: 31.38 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01103, allocations: 0.4961 MB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.01105, allocations: 11.98 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.0111, allocations: 72.69 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.01115, allocations: 43.75 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.01115, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.79e-05/0.01124, allocations: 97.52 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.01126, allocations: 8.062 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01126, allocations: 11.94 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.01127, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.01135, allocations: 15.98 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01135, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.01138, allocations: 4 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01139, allocations: 4 kB / 383 MB, free: 13.46 MB / 362.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.932e-05/0.01146, allocations: 172.4 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.01147, allocations: 7.953 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01161, allocations: 106.5 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.01161, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01162, allocations: 3.984 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01162, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.01187, allocations: 392.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01187, allocations: 0 / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.0119, allocations: 11.98 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.0119, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.01191, allocations: 8 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01191, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01191, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.01204, allocations: 259.5 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.01205, allocations: 7.953 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01207, allocations: 8 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.01211, allocations: 3.984 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.01214, allocations: 7.938 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.01216, allocations: 7.984 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.01222, allocations: 162 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01222, allocations: 0 / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.01243, allocations: 51.86 kB / 384.1 MB, free: 12.18 MB / 362.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.00103/0.01346, allocations: 0.538 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01359, allocations: 55.67 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0136, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.01365, allocations: 31.61 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.014, allocations: 40.41 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.0144, allocations: 201.9 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.01445, allocations: 67.34 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.0145, allocations: 33.33 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.01455, allocations: 16.5 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01455, allocations: 0 / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.004365/0.01892, allocations: 2.76 MB / 387.9 MB, free: 8.617 MB / 362.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.935550192836672]