Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.0027, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001297/0.001297, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002901, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9469/0.9469, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0917/1.039, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2738/0.2738, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02414/0.2979, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 292.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.614e-05, allocations: 4.531 kB / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002315/0.002331, allocations: 1.895 MB / 294.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.004034, allocations: 1.85 MB / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.0041, allocations: 0 / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.004402, allocations: 51.58 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.004656, allocations: 148.1 kB / 296.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.004823, allocations: 111.6 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.005002, allocations: 203.3 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.00504, allocations: 14.45 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.005206, allocations: 160.2 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005322, allocations: 67.73 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.005341, allocations: 12 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.005502, allocations: 111.8 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.005549, allocations: 27.88 kB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.005583, allocations: 23.94 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.005792, allocations: 191.3 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.005802, allocations: 0 / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005803, allocations: 4 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.00581, allocations: 4 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004646/0.006275, allocations: 432.4 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.006302, allocations: 12.62 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.006343, allocations: 12.92 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.006515, allocations: 173.4 kB / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.006531, allocations: 8.375 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.006545, allocations: 4.375 kB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.006678, allocations: 156.5 kB / 298.5 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006685, allocations: 7.938 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.006693, allocations: 7.984 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.006698, allocations: 0 / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.006729, allocations: 21.64 kB / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.989e-05/0.006819, allocations: 82.47 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.006912, allocations: 78.72 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.006942, allocations: 25.7 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.006952, allocations: 4 kB / 298.8 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.007065, allocations: 103.8 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.007066, allocations: 0 / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001332/0.0072, allocations: 95.19 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.007228, allocations: 85.05 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.007366, allocations: 215.1 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.007384, allocations: 29.7 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.007414, allocations: 104.6 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.007445, allocations: 27.77 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.007477, allocations: 37.69 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.007545, allocations: 326.8 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.007562, allocations: 10.83 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.00761, allocations: 110.2 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.007666, allocations: 71.81 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007667, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.384e-05/0.007751, allocations: 95.19 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.007761, allocations: 8.094 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007766, allocations: 3.984 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.007777, allocations: 7.984 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.007845, allocations: 23.94 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007849, allocations: 3.984 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.008149, allocations: 11.89 kB / 300.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.008154, allocations: 8 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.025e-05/0.008225, allocations: 129.1 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.008243, allocations: 15.92 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.008353, allocations: 102.9 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008355, allocations: 4 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008358, allocations: 8 kB / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008361, allocations: 0 / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.256e-05/0.008444, allocations: 97.84 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008445, allocations: 0 / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.008471, allocations: 15.98 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.008489, allocations: 15.86 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008492, allocations: 4 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.0085, allocations: 7.984 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008502, allocations: 0 / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.008503, allocations: 7.938 kB / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.479e-05/0.008588, allocations: 118.4 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.008608, allocations: 8 kB / 300.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.008639, allocations: 7.984 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.008665, allocations: 11.98 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.008676, allocations: 7.938 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.008736, allocations: 78.23 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008736, allocations: 0 / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000167/0.008903, allocations: 59.8 kB / 300.8 MB, free: 13.88 MB / 298.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001296/0.0102, allocations: 0.7025 MB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.01031, allocations: 60.7 kB / 301.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.01032, allocations: 4 kB / 301.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.01036, allocations: 40.83 kB / 301.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.0106, allocations: 346 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.01103, allocations: 288.2 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.01106, allocations: 71.98 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.01112, allocations: 34.14 kB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.01123, allocations: 99.33 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01123, allocations: 0 / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Templates: time 0.004776/0.016, allocations: 3.811 MB / 306.2 MB, free: 8.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.898508786223829]