Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.002681, allocations: 452 kB / 10.43 MB, free: 264 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.001063/0.001063, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002456, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.886/0.886, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1374/1.023, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1306/0.1306, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02234/0.1529, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.2e-05, allocations: 2.312 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003331/0.003353, allocations: 1.77 MB / 269.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004766, allocations: 0.8152 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.004847, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.005083, allocations: 39.72 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.005326, allocations: 55.64 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.005544, allocations: 95.62 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.005689, allocations: 95.66 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.005765, allocations: 8.219 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.005879, allocations: 71.83 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.005956, allocations: 23.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005969, allocations: 4 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.006054, allocations: 47.86 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.006101, allocations: 15.94 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.006127, allocations: 8 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.006281, allocations: 103.5 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.006291, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006292, allocations: 4 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.006299, allocations: 0 / 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.0003526/0.006652, allocations: 327.9 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.006678, allocations: 8.031 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.006705, allocations: 4.938 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.006827, allocations: 141.5 kB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.006838, allocations: 384 / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.006854, allocations: 8.359 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.006937, allocations: 61.77 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006945, allocations: 7.938 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.006951, allocations: 4 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006955, allocations: 3.984 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.006974, allocations: 4 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.007143, allocations: 181.9 kB / 271.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.007231, allocations: 85.23 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.007248, allocations: 12.84 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.007258, allocations: 7.984 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.007331, allocations: 66.16 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.007332, allocations: 4 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002441/0.007576, allocations: 117.5 kB / 271.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.007598, allocations: 51.41 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.007679, allocations: 160.2 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.007693, allocations: 29.69 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.007719, allocations: 88.12 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.007741, allocations: 31.77 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.007767, allocations: 21.72 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.007838, allocations: 326.8 kB / 272.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.007853, allocations: 14.77 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.007874, allocations: 25.7 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.007911, allocations: 40.52 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.007912, allocations: 0 / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.758e-05/0.00798, allocations: 76.38 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.007988, allocations: 4 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.007992, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.007999, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.008054, allocations: 19.98 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.008057, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.008084, allocations: 4.031 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.008089, allocations: 4 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 5.548e-05/0.008144, allocations: 124.6 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.008156, allocations: 7.938 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/0.008241, allocations: 82.5 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008243, allocations: 4 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.008244, allocations: 0 / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008246, allocations: 0 / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.008428, allocations: 291.4 kB / 273 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008429, allocations: 0 / 273 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.008454, allocations: 24.02 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.008462, allocations: 7.953 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008464, allocations: 3.938 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.008471, allocations: 4 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.008472, allocations: 0 / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008473, allocations: 384 / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.008559, allocations: 211 kB / 273.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008575, allocations: 11.98 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.008611, allocations: 4 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.008638, allocations: 7.984 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.008649, allocations: 8 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.706e-05/0.008686, allocations: 39.66 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008686, allocations: 0 / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.008822, allocations: 27.92 kB / 273.4 MB, free: 12.31 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.001175/0.009997, allocations: 0.6362 MB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.01008, allocations: 44.77 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01009, allocations: 3.938 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.01013, allocations: 32.84 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.0002093/0.01034, allocations: 176.3 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01073, allocations: 222.6 kB / 274.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.909e-05/0.01077, allocations: 67.33 kB / 274.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.0108, allocations: 8.969 kB / 274.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.01086, allocations: 67.36 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01086, allocations: 0 / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of Templates: time 0.00312/0.01398, allocations: 2.034 MB / 276.6 MB, free: 8.918 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.673462108708918]