Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.000819/0.000819, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.000913/0.000913, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9444/0.9444, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.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.32/0.32, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.35e-05, allocations: 3.406 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00248/0.002504, allocations: 1.765 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.003776, allocations: 1.009 MB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.003855, allocations: 0 / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.004171, allocations: 83.62 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.00451, allocations: 123.4 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.004717, allocations: 83.55 kB / 329.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.004879, allocations: 120.4 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.004959, allocations: 11.98 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.005058, allocations: 71.73 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.005151, allocations: 47.89 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.005165, allocations: 4 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.005246, allocations: 47.91 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.005292, allocations: 23.86 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.005323, allocations: 15.94 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.00549, allocations: 99.66 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.005494, allocations: 7.984 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005496, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.005499, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.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.0003717/0.005871, allocations: 337.4 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.005911, allocations: 12.03 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.005949, allocations: 8.938 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.006115, allocations: 145.6 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.006133, allocations: 8.359 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.006153, allocations: 4.375 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.006257, allocations: 61.77 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.006264, allocations: 4.188 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.006271, allocations: 384 / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006277, allocations: 7.938 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.006301, allocations: 7.938 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.006512, allocations: 165.9 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.006604, allocations: 89.34 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.006622, allocations: 12.84 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006634, allocations: 4 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.279e-05/0.006717, allocations: 66.16 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.006718, allocations: 0 / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003073/0.007025, allocations: 121.4 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.007061, allocations: 55.41 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007175, allocations: 181.1 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.007195, allocations: 29.69 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.007232, allocations: 96.11 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.00726, allocations: 27.78 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.0073, allocations: 21.7 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.007394, allocations: 334.8 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.007415, allocations: 14.83 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.007438, allocations: 17.72 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.007487, allocations: 52.38 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007489, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.065e-05/0.00758, allocations: 68.5 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.007596, allocations: 9.188 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.007603, allocations: 4 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.007618, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.007688, allocations: 20.3 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007691, allocations: 4.031 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.00772, allocations: 4 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007726, allocations: 4 kB / 331.4 MB, free: 1.43 MB / 298.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.763e-05/0.007793, allocations: 116.7 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.007808, allocations: 15.92 kB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.007928, allocations: 75.08 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.007931, allocations: 0 / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.007935, allocations: 3.984 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007938, allocations: 0 / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.008164, allocations: 295.4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.008167, allocations: 3.938 kB / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.008197, allocations: 19.98 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.0082, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008208, allocations: 3.984 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.008211, allocations: 240 / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.008213, allocations: 4 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.00833, allocations: 211 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.008344, allocations: 11.89 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.008361, allocations: 4 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.008407, allocations: 8.016 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.008434, allocations: 11.98 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.008446, allocations: 0 / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.0085, allocations: 65.53 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0085, allocations: 3.938 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.008668, allocations: 27.94 kB / 332.3 MB, free: 0.4922 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: 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.001235/0.009903, allocations: 0.5607 MB / 332.9 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.01, allocations: 40.78 kB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.01001, allocations: 0 / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.01004, allocations: 32.83 kB / 332.9 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01023, allocations: 35.8 kB / 333 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.01058, allocations: 238.7 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.01062, allocations: 71.33 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.01066, allocations: 13.28 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.01073, allocations: 67.36 kB / 333.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01073, allocations: 0 / 333.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of Templates: time 0.003746/0.01447, allocations: 2.028 MB / 335.4 MB, free: 13.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.965198141988367]