Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001115/0.001115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.00268, allocations: 457.8 kB / 10.45 MB, free: 244 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.001001/0.001001, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002283, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9691/0.9691, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.073, allocations: 53.86 MB / 243.9 MB, free: 14.84 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.2537/0.2537, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02743/0.2811, allocations: 13.24 MB / 292.8 MB, free: 6.363 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.117e-05, allocations: 2.312 kB / 294.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002732/0.002754, allocations: 1.991 MB / 296.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.008417, allocations: 1.121 MB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.008508, allocations: 3.938 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.008909, allocations: 311 kB / 297.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.009297, allocations: 262.9 kB / 297.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.009548, allocations: 123.5 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.009843, allocations: 263.2 kB / 298.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.009941, allocations: 18.61 kB / 298.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.01321, allocations: 216.2 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.01339, allocations: 155.6 kB / 298.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.01342, allocations: 8 kB / 298.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.01355, allocations: 67.91 kB / 298.7 MB, free: 444 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.01362, allocations: 59.73 kB / 298.8 MB, free: 384 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.01367, allocations: 39.81 kB / 298.8 MB, free: 344 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.01393, allocations: 203.1 kB / 299 MB, free: 140 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.01395, allocations: 0 / 299 MB, free: 140 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01395, allocations: 0 / 299 MB, free: 140 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01396, allocations: 4 kB / 299 MB, free: 136 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006636/0.01462, allocations: 0.5269 MB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01466, allocations: 8.031 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.01471, allocations: 28.91 kB / 299.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.01496, allocations: 224.1 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.01498, allocations: 8.375 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.01501, allocations: 12.36 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.01517, allocations: 107.4 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01518, allocations: 4.172 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.01519, allocations: 384 / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.0152, allocations: 7.938 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.01524, allocations: 29.64 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.01555, allocations: 300.7 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01577, allocations: 182.7 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.01581, allocations: 33.89 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.01582, allocations: 7.938 kB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.01596, allocations: 111.8 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.01596, allocations: 0 / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.003741/0.0197, allocations: 329.9 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.01974, allocations: 85.09 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.02001, allocations: 357.1 kB / 301.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.02003, allocations: 33.69 kB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.02009, allocations: 125.5 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.02014, allocations: 71.42 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.0202, allocations: 41.62 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.02029, allocations: 354.7 kB / 301.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.02033, allocations: 26.81 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.02039, allocations: 51.41 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.0205, allocations: 113 kB / 302.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02051, allocations: 0 / 302.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000177/0.02068, allocations: 139.1 kB / 302.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.0207, allocations: 8 kB / 302.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.0207, allocations: 0 / 302.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.02071, allocations: 0 / 302.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.02085, allocations: 55.91 kB / 302.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.02085, allocations: 4 kB / 302.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.02091, allocations: 16.02 kB / 302.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.02092, allocations: 4 kB / 302.4 MB, free: 12.55 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.505e-05/0.02102, allocations: 132.5 kB / 302.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.02105, allocations: 23.98 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.02127, allocations: 157.4 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02127, allocations: 0 / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02127, allocations: 4 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02128, allocations: 3.984 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.02175, allocations: 0.5722 MB / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02175, allocations: 0 / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.02183, allocations: 39.98 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.02186, allocations: 27.77 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.02187, allocations: 11.88 kB / 303.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.02188, allocations: 7.984 kB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.02188, allocations: 0 / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02189, allocations: 4 kB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.02515, allocations: 420.9 kB / 303.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.02518, allocations: 15.94 kB / 303.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.02529, allocations: 4 kB / 303.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.02534, allocations: 19.97 kB / 303.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.02536, allocations: 11.98 kB / 303.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.0255, allocations: 159.6 kB / 303.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0255, allocations: 0 / 303.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.02579, allocations: 51.92 kB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001759/0.02755, allocations: 0.7211 MB / 304.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.02772, allocations: 100.7 kB / 304.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.02773, allocations: 4 kB / 304.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.02782, allocations: 72.7 kB / 304.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/0.03132, allocations: 357.3 kB / 305.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.03214, allocations: 0.5271 MB / 305.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.03221, allocations: 100.2 kB / 305.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.738e-05/0.0323, allocations: 41.92 kB / 305.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.03242, allocations: 95.34 kB / 306 MB, free: 9.051 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03242, allocations: 0 / 306 MB, free: 9.051 MB / 298.7 MB Notification: Performance of Templates: time 0.01289/0.04532, allocations: 3.733 MB / 309.7 MB, free: 5.391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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: 3.094885701313615]