Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.0008856/0.0008856, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001893, allocations: 447.8 kB / 10.35 MB, free: 348 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.000698/0.000698, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009437/0.001642, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9247/0.9247, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1887/1.113, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.127/0.127, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02347/0.1505, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.601e-05, allocations: 10.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00201/0.002026, allocations: 1.774 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.003899, allocations: 1.548 MB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.003974, allocations: 7.938 kB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.004181, allocations: 35.72 kB / 270.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.004348, allocations: 63.69 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.004572, allocations: 87.64 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.004713, allocations: 95.7 kB / 270.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.004794, allocations: 8.219 kB / 270.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.004904, allocations: 75.77 kB / 271 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.004997, allocations: 27.91 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.005013, allocations: 4 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.005132, allocations: 63.91 kB / 271.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.005168, allocations: 15.92 kB / 271.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.0052, allocations: 19.94 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.005359, allocations: 99.67 kB / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.005373, allocations: 3.938 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005374, allocations: 0 / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.005389, allocations: 0 / 271.2 MB, free: 2.504 MB / 266.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.0004341/0.005823, allocations: 327.9 kB / 271.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.005856, allocations: 8.031 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.005888, allocations: 8.922 kB / 271.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.00604, allocations: 141.6 kB / 271.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.006055, allocations: 4.375 kB / 271.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.006071, allocations: 384 / 271.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.006196, allocations: 105.2 kB / 271.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006206, allocations: 3.938 kB / 271.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.006215, allocations: 8 kB / 271.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006221, allocations: 7.922 kB / 271.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.006248, allocations: 6.828 kB / 271.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.00646, allocations: 166 kB / 272 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.006563, allocations: 81.3 kB / 272.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.006586, allocations: 8.859 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.0066, allocations: 8 kB / 272.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.006734, allocations: 74.08 kB / 272.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.006735, allocations: 0 / 272.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003772/0.007112, allocations: 117.5 kB / 272.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.007151, allocations: 59.34 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007262, allocations: 152.2 kB / 272.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.007283, allocations: 29.7 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.007321, allocations: 91.98 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.007353, allocations: 31.77 kB / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.00739, allocations: 17.72 kB / 272.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.00749, allocations: 330.8 kB / 273 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.007508, allocations: 10.83 kB / 273 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.007553, allocations: 56.27 kB / 273 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.0076, allocations: 44.44 kB / 273.1 MB, free: 456 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007601, allocations: 0 / 273.1 MB, free: 456 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.297e-05/0.007694, allocations: 76.38 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.00771, allocations: 7.984 kB / 273.2 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.007717, allocations: 4 kB / 273.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.007727, allocations: 0 / 273.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.0078, allocations: 16.06 kB / 273.2 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.007804, allocations: 4 kB / 273.2 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.007833, allocations: 3.984 kB / 273.2 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.00784, allocations: 4 kB / 273.2 MB, free: 332 kB / 266.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.727e-05/0.007907, allocations: 116.7 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.007918, allocations: 7.938 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.008012, allocations: 82.33 kB / 273.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008014, allocations: 0 / 273.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.008017, allocations: 4 kB / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008021, allocations: 0 / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.008236, allocations: 287.4 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008237, allocations: 0 / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.008264, allocations: 15.98 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.008276, allocations: 11.94 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.008279, allocations: 4 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.008284, allocations: 0 / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.008286, allocations: 4.312 kB / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.008287, allocations: 0 / 273.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.008388, allocations: 215 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.008404, allocations: 8.031 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.008441, allocations: 8 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.008464, allocations: 11.86 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.008475, allocations: 4 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.008507, allocations: 39.66 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008507, allocations: 0 / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008671, allocations: 31.92 kB / 274 MB, free: 15.43 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.00131/0.009981, allocations: 0.6839 MB / 274.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.0101, allocations: 52.69 kB / 274.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.01011, allocations: 8.062 kB / 274.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.01014, allocations: 20.8 kB / 274.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01035, allocations: 47.84 kB / 274.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.01096, allocations: 198.2 kB / 275 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.011, allocations: 63.34 kB / 275.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.01106, allocations: 24.78 kB / 275.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.01114, allocations: 75.42 kB / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.01114, allocations: 0 / 275.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of Templates: time 0.004323/0.01547, allocations: 2.332 MB / 277.5 MB, free: 11.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.79542238637805]