Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.0007782/0.0007782, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001876, 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.0006816/0.0006816, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008147/0.001496, 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.9668/0.9668, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1925/1.159, 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.1345/0.1345, allocations: 32.35 MB / 253.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02352/0.158, allocations: 12.29 MB / 265.9 MB, free: 7.82 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.196e-05, allocations: 6.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002714/0.002746, allocations: 1.735 MB / 269 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003943, allocations: 0.7881 MB / 269.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.004017, allocations: 3.938 kB / 269.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.004254, allocations: 55.69 kB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.004424, allocations: 59.75 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.004616, allocations: 79.7 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.004769, allocations: 95.64 kB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.004815, allocations: 3.938 kB / 270.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004936, allocations: 75.83 kB / 270.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.005008, allocations: 23.91 kB / 270.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005024, allocations: 4 kB / 270.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.00509, allocations: 27.94 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.005133, allocations: 27.86 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005164, allocations: 19.94 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.005309, allocations: 95.59 kB / 270.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.47e-05/0.005324, allocations: 0 / 270.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005325, allocations: 0 / 270.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.00534, allocations: 0 / 270.4 MB, free: 3.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005546/0.005895, allocations: 351.7 kB / 270.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.005925, allocations: 8.031 kB / 270.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.005958, allocations: 8.938 kB / 270.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.006103, allocations: 153.5 kB / 270.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.006117, allocations: 4.312 kB / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.006124, allocations: 8.312 kB / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.006225, allocations: 57.77 kB / 271 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.006233, allocations: 3.938 kB / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.00624, allocations: 0 / 271 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006245, allocations: 4 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.006274, allocations: 4 kB / 271 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.909e-05/0.006373, allocations: 70.69 kB / 271 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.006455, allocations: 45.42 kB / 271.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.006476, allocations: 12.8 kB / 271.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.006487, allocations: 4 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.00659, allocations: 62.17 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.006591, allocations: 0 / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001324/0.006723, allocations: 61.67 kB / 271.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006756, allocations: 55.34 kB / 271.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.006883, allocations: 211.7 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.006896, allocations: 25.7 kB / 271.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.006925, allocations: 100.1 kB / 271.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.006955, allocations: 11.88 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.006987, allocations: 25.7 kB / 271.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.007074, allocations: 334.8 kB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.007091, allocations: 6.828 kB / 272 MB, free: 1.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.007115, allocations: 21.94 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.007155, allocations: 43.36 kB / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007158, allocations: 0 / 272 MB, free: 1.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.638e-05/0.007224, allocations: 56.45 kB / 272.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007238, allocations: 7.984 kB / 272.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007242, allocations: 0 / 272.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.007253, allocations: 8.016 kB / 272.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.007316, allocations: 15.94 kB / 272.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.007319, allocations: 0 / 272.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.007346, allocations: 11.89 kB / 272.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.007351, allocations: 4 kB / 272.1 MB, free: 1.387 MB / 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 (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 6.012e-05/0.007411, allocations: 120.6 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.007421, allocations: 8 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.0075, allocations: 62.83 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.007502, allocations: 3.938 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007505, allocations: 7.938 kB / 272.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007509, allocations: 7.984 kB / 272.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.108e-05/0.00758, allocations: 81.86 kB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.007582, allocations: 4 kB / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.0076, allocations: 4 kB / 272.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.007612, allocations: 15.84 kB / 272.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.007615, allocations: 3.984 kB / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007623, allocations: 0 / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.007624, allocations: 0 / 272.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.007627, allocations: 3.938 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.675e-05/0.007703, allocations: 90.89 kB / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.007717, allocations: 0 / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.007737, allocations: 8 kB / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.007759, allocations: 3.984 kB / 272.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.007771, allocations: 8 kB / 272.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.007819, allocations: 68.83 kB / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007819, allocations: 0 / 272.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.007941, allocations: 19.92 kB / 272.7 MB, free: 0.8203 MB / 266.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.0011/0.009041, allocations: 0.5544 MB / 273.2 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.904e-05/0.00913, allocations: 28.86 kB / 273.2 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.00914, allocations: 4 kB / 273.2 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.009166, allocations: 28.77 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.009303, allocations: 31.91 kB / 273.3 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.009817, allocations: 225.8 kB / 273.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.009866, allocations: 75.33 kB / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.009904, allocations: 12.47 kB / 273.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.009964, allocations: 63.38 kB / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009965, allocations: 4.062 kB / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of Templates: time 0.004927/0.01489, allocations: 1.803 MB / 275.5 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.967665364034474]