Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001595/0.002707, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.00264, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08872/1.097, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 34.87 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02463/0.3127, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.431e-05, allocations: 2.312 kB / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002435/0.00246, allocations: 1.881 MB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.004431, allocations: 1.842 MB / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.004521, allocations: 0 / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.004727, allocations: 51.62 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.00502, allocations: 139.2 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.005206, allocations: 107.6 kB / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.005417, allocations: 207.3 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.005467, allocations: 6.469 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.005656, allocations: 169.1 kB / 298.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.00579, allocations: 63.8 kB / 298.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.00581, allocations: 8 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.005993, allocations: 115.8 kB / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.006043, allocations: 27.86 kB / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.006087, allocations: 31.88 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.006333, allocations: 187.3 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.006348, allocations: 0 / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006349, allocations: 0 / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.006363, allocations: 0 / 298.8 MB, free: 288 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005446/0.006907, allocations: 436.3 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.006938, allocations: 14.55 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.006979, allocations: 12.92 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.007172, allocations: 173.4 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.007187, allocations: 4.375 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.007199, allocations: 8.359 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.00736, allocations: 160.5 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.007367, allocations: 192 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.007375, allocations: 384 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.007381, allocations: 7.938 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.007424, allocations: 25.62 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.896e-05/0.007523, allocations: 90.38 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.007627, allocations: 78.8 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.007655, allocations: 21.72 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.007668, allocations: 4 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.007793, allocations: 103.8 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.007794, allocations: 4 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001576/0.007951, allocations: 95.25 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.007989, allocations: 81.11 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.008141, allocations: 217 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.008161, allocations: 25.7 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.008202, allocations: 108.6 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.008242, allocations: 23.78 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.008283, allocations: 37.69 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.008384, allocations: 326.8 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.008408, allocations: 14.81 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.008465, allocations: 108.5 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.008529, allocations: 71.91 kB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.008531, allocations: 0 / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.356e-05/0.008624, allocations: 95.81 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.008637, allocations: 8 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008642, allocations: 0 / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.008652, allocations: 4 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.008733, allocations: 19.98 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.008737, allocations: 15.94 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.008782, allocations: 15.83 kB / 301.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.008791, allocations: 8 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.974e-05/0.008861, allocations: 120.7 kB / 301.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.008879, allocations: 15.98 kB / 301.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.009, allocations: 90.73 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009003, allocations: 4 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.009004, allocations: 0 / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.009009, allocations: 3.938 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.763e-05/0.009096, allocations: 105.8 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009098, allocations: 4 kB / 301.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.009129, allocations: 12 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.009148, allocations: 19.84 kB / 301.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.00915, allocations: 0 / 301.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.009157, allocations: 8 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.009159, allocations: 0 / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009159, allocations: 0 / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/0.009254, allocations: 122.3 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.009282, allocations: 11.98 kB / 301.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.009316, allocations: 4 kB / 301.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.009347, allocations: 11.98 kB / 301.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.009358, allocations: 8.125 kB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.009422, allocations: 78.61 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009422, allocations: 3.938 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009584, allocations: 55.86 kB / 301.8 MB, free: 12.91 MB / 298.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001647/0.01123, allocations: 0.6881 MB / 302.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.01136, allocations: 56.77 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/0.01137, allocations: 128 / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.0114, allocations: 40.83 kB / 302.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01159, allocations: 74.16 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.01209, allocations: 284.2 kB / 302.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.01212, allocations: 71.98 kB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.01218, allocations: 37.39 kB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.01229, allocations: 99.34 kB / 303.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0123, allocations: 0 / 303.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Templates: time 0.00513/0.01742, allocations: 3.801 MB / 306.9 MB, free: 8.121 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.0284001380205154]