Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.0008986/0.0008986, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002133, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007326/0.0007326, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009665/0.001699, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9746/0.9746, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09836/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2709/0.2709, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02697/0.2978, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.933e-05, allocations: 2.312 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00628/0.006309, allocations: 1.842 MB / 292.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.007999, allocations: 1.028 MB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.008093, allocations: 1.531 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.00837, allocations: 106.7 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.008674, allocations: 127.4 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.008895, allocations: 83.59 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.009108, allocations: 143.7 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.0092, allocations: 6.25 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.009359, allocations: 111.7 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.009474, allocations: 67.78 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.009491, allocations: 4 kB / 294.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.00961, allocations: 63.92 kB / 294.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.009664, allocations: 31.92 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.009709, allocations: 23.88 kB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.009916, allocations: 127.5 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.847e-05/0.009935, allocations: 0 / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009936, allocations: 0 / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.009951, allocations: 0 / 294.5 MB, free: 4.434 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005614/0.01051, allocations: 384.2 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01055, allocations: 8.031 kB / 294.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.0106, allocations: 16.92 kB / 294.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.01082, allocations: 166.4 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01084, allocations: 4.375 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.01086, allocations: 4.375 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.01102, allocations: 78.45 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01103, allocations: 7.922 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.01104, allocations: 4 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.01105, allocations: 4 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/0.01111, allocations: 15.98 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.01142, allocations: 189.8 kB / 295.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.01161, allocations: 101.3 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.01165, allocations: 20.84 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.01166, allocations: 7.938 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.01178, allocations: 70.3 kB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.01178, allocations: 0 / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005541/0.01234, allocations: 198.9 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01237, allocations: 55.41 kB / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.01253, allocations: 213.8 kB / 296 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.01255, allocations: 29.7 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.0126, allocations: 104 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.01264, allocations: 51.62 kB / 296.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.01269, allocations: 29.69 kB / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01279, allocations: 338.7 kB / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.01282, allocations: 14.94 kB / 296.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.01286, allocations: 40.16 kB / 296.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.01295, allocations: 56.5 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01295, allocations: 0 / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001326/0.01308, allocations: 102.4 kB / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01309, allocations: 8.031 kB / 296.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.0131, allocations: 4 kB / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.01311, allocations: 0 / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.0132, allocations: 31.92 kB / 296.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.01321, allocations: 7.984 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.01324, allocations: 4 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01325, allocations: 4 kB / 296.8 MB, free: 1.93 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 (16): * Single equations (assignments): 16 * 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.807e-05/0.01333, allocations: 120.6 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.01335, allocations: 11.98 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.01351, allocations: 119 kB / 297 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01352, allocations: 4 kB / 297 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01352, allocations: 3.984 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01352, allocations: 0 / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.01387, allocations: 364.2 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01387, allocations: 0 / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.01394, allocations: 27.92 kB / 297.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.01396, allocations: 19.89 kB / 297.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01396, allocations: 0 / 297.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01397, allocations: 4 kB / 297.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01398, allocations: 8 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01398, allocations: 0 / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.01414, allocations: 247.9 kB / 297.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01417, allocations: 11.94 kB / 297.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.01424, allocations: 3.938 kB / 297.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.01427, allocations: 19.97 kB / 297.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01429, allocations: 4 kB / 297.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.01436, allocations: 65.94 kB / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01436, allocations: 0 / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000229/0.01459, allocations: 39.92 kB / 297.8 MB, free: 0.8047 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002029/0.01661, allocations: 0.7235 MB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01676, allocations: 64.77 kB / 298.6 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.01677, allocations: 4 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.01683, allocations: 44.77 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.0171, allocations: 51.83 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.01776, allocations: 305.6 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.01782, allocations: 83.81 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.01789, allocations: 25.47 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.01798, allocations: 75.36 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01798, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Templates: time 0.005525/0.02351, allocations: 2.596 MB / 301.8 MB, free: 13.24 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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: 3.0110472990199924]