Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001117/0.001117, allocations: 89.05 kB / 9.989 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001967/0.003084, allocations: 452 kB / 10.43 MB, free: 260 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.001133/0.001133, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002607, allocations: 483.5 kB / 11.8 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8691/0.8691, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1419/1.011, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1246/0.1246, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02156/0.1462, allocations: 12.3 MB / 266.1 MB, free: 3.887 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.42e-05, allocations: 10.19 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003788/0.003812, allocations: 1.77 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.005315, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.005393, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.005638, allocations: 39.66 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.005829, allocations: 51.7 kB / 270.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.006092, allocations: 91.62 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.006292, allocations: 107.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.006378, allocations: 12.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.006534, allocations: 59.91 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.006631, allocations: 27.89 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.006652, allocations: 4 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.006768, allocations: 51.8 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.00682, allocations: 15.94 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.006859, allocations: 8 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.007071, allocations: 95.61 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.007083, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007084, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.007095, allocations: 4 kB / 270.6 MB, free: 15.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005139/0.007609, allocations: 331.8 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.007644, allocations: 8.031 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.007687, allocations: 8.938 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.007876, allocations: 141.5 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.007894, allocations: 4.375 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.007916, allocations: 4.375 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.008046, allocations: 57.77 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.008057, allocations: 7.938 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.008068, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008076, allocations: 7.984 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.008111, allocations: 15.92 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.008358, allocations: 169.9 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.008477, allocations: 85.28 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.008504, allocations: 12.84 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.008519, allocations: 8 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.008637, allocations: 66.09 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.008638, allocations: 4 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003807/0.009019, allocations: 121.5 kB / 271.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.009053, allocations: 51.41 kB / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.009195, allocations: 160.2 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.009214, allocations: 25.7 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.009264, allocations: 100.1 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.009298, allocations: 23.78 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.009345, allocations: 21.7 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.009452, allocations: 322.8 kB / 272.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.00948, allocations: 14.81 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.009513, allocations: 17.72 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.00958, allocations: 52.44 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009582, allocations: 0 / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001237/0.009705, allocations: 68.45 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.009721, allocations: 7.984 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.009725, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009737, allocations: 3.938 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.009826, allocations: 16 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009829, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.009875, allocations: 7.984 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.009883, allocations: 4.031 kB / 272.5 MB, free: 13.21 MB / 282.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 9.152e-05/0.009975, allocations: 116.7 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.01, allocations: 11.92 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.01015, allocations: 86.5 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01015, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01015, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01015, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.01047, allocations: 291.4 kB / 273 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.01047, allocations: 4 kB / 273 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.01052, allocations: 11.98 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.01054, allocations: 11.98 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01054, allocations: 3.938 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01055, allocations: 4 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01055, allocations: 0 / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.01056, allocations: 4.312 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01072, allocations: 219 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01074, allocations: 4 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.01084, allocations: 4 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.01087, allocations: 7.984 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01089, allocations: 11.94 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.133e-05/0.01095, allocations: 39.66 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01095, allocations: 0 / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.0113, allocations: 27.92 kB / 273.4 MB, free: 12.3 MB / 282.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.002494/0.01379, allocations: 0.6323 MB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01392, allocations: 36.84 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01393, allocations: 3.938 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.014, allocations: 40.77 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.01441, allocations: 176.3 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.01502, allocations: 210.5 kB / 274.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.01509, allocations: 71.52 kB / 274.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.01514, allocations: 8.969 kB / 274.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01524, allocations: 71.34 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01524, allocations: 0 / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Templates: time 0.005333/0.02058, allocations: 2.038 MB / 276.6 MB, free: 8.914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.662251077592373]