Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009913/0.0009913, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001064/0.001064, allocations: 165 kB / 24.56 MB, free: 16 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 1.031/1.031, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 34.27 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.737e-05, allocations: 2.312 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002269/0.002296, allocations: 1.719 MB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003476, allocations: 0.9897 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.003565, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.003869, allocations: 47.75 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.004202, allocations: 119.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.004382, allocations: 75.61 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004538, allocations: 99.69 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.004577, allocations: 4.234 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.004662, allocations: 55.77 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.004734, allocations: 23.91 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004751, allocations: 8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.004822, allocations: 28 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.004879, allocations: 31.84 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.004923, allocations: 19.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.005104, allocations: 103.6 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005106, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.005109, allocations: 4 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005113, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.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.000455/0.005568, allocations: 471.6 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.005603, allocations: 8.031 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.005653, allocations: 20.84 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.005824, allocations: 161.2 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.005841, allocations: 4.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.005852, allocations: 4.359 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.005972, allocations: 54.95 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005979, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005988, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005995, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.006025, allocations: 15.86 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.006176, allocations: 156.6 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.006277, allocations: 51.11 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.006303, allocations: 11.69 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.006314, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.762e-05/0.006412, allocations: 65.05 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.006413, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001773/0.006591, allocations: 93.45 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.006619, allocations: 51.41 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.006771, allocations: 277.6 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.006782, allocations: 29.7 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.00684, allocations: 162.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.006878, allocations: 19.89 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.006908, allocations: 23.38 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.007023, allocations: 0.5001 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.007047, allocations: 7.984 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.007075, allocations: 27.62 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.007123, allocations: 43.3 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007125, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.752e-05/0.007213, allocations: 89.52 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007225, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.007231, allocations: 3.938 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.007243, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.007307, allocations: 12 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007312, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.00734, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.007346, allocations: 4 kB / 383.8 MB, free: 12.66 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 (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 7.392e-05/0.00742, allocations: 160.6 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.007436, allocations: 19.91 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.007561, allocations: 94.88 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.007564, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.007567, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007571, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.00781, allocations: 168.5 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007812, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.007838, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00784, allocations: 3.938 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007848, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.007851, allocations: 7.922 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007852, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007953, allocations: 128.4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.007968, allocations: 11.91 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.007985, allocations: 7.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.008008, allocations: 3.938 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.008036, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.00805, allocations: 7.984 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.008138, allocations: 192.5 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008138, allocations: 4 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.008285, allocations: 12 kB / 384.6 MB, free: 11.76 MB / 362.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.0007952/0.00908, allocations: 385.6 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.009186, allocations: 43.61 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009187, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.009218, allocations: 19.73 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.009407, allocations: 35.17 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.009747, allocations: 234.5 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.009785, allocations: 75.33 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.009817, allocations: 8.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.009846, allocations: 16.48 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009847, allocations: 0 / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003496/0.01334, allocations: 1.792 MB / 387.2 MB, free: 9.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.3143478659912944]