Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009706/0.0009706, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001092/0.001092, allocations: 162.5 kB / 24.91 MB, free: 9.211 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 1.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.426 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.2484/0.2484, allocations: 34.87 MB / 296.6 MB, free: 436 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.948e-05, allocations: 3.516 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002523/0.002553, allocations: 1.785 MB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003934, allocations: 1.006 MB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.004025, allocations: 7.938 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.004348, allocations: 107.6 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.004692, allocations: 127.5 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.004901, allocations: 83.55 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.005088, allocations: 136.3 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.005178, allocations: 11.97 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.00528, allocations: 75.81 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.005379, allocations: 59.86 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.005394, allocations: 11.94 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.005499, allocations: 67.89 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.005549, allocations: 31.86 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.005582, allocations: 19.92 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.005761, allocations: 131.5 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005764, allocations: 0 / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005765, allocations: 0 / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.005768, allocations: 0 / 329.7 MB, free: 3.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005764/0.006345, allocations: 365.1 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.006376, allocations: 12.02 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.006411, allocations: 12.94 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.006584, allocations: 162.5 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.006598, allocations: 384 / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.006618, allocations: 8.375 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.006727, allocations: 69.69 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.006736, allocations: 192 / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.006746, allocations: 8.375 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006752, allocations: 3.938 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.006784, allocations: 11.98 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.00703, allocations: 181.9 kB / 330.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.007178, allocations: 105.3 kB / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.007201, allocations: 17.02 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.007212, allocations: 3.984 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.139e-05/0.007293, allocations: 70.16 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.007294, allocations: 0 / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004308/0.007725, allocations: 185.4 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.007756, allocations: 59.33 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.007877, allocations: 217.2 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.007894, allocations: 29.7 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.007995, allocations: 100 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.008029, allocations: 39.67 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.008065, allocations: 33.69 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.008142, allocations: 326.8 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.008164, allocations: 14.83 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.008193, allocations: 30.2 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.008248, allocations: 56.97 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.008249, allocations: 0 / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001047/0.008353, allocations: 101.8 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.008374, allocations: 4 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.00838, allocations: 0 / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.008398, allocations: 4 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/0.008465, allocations: 23.92 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.008468, allocations: 0 / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.008496, allocations: 4 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.008502, allocations: 0 / 331.9 MB, free: 0.9883 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 (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 7.341e-05/0.008576, allocations: 116.7 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008594, allocations: 23.92 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.008744, allocations: 110.8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.008747, allocations: 4 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008748, allocations: 0 / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.008753, allocations: 3.984 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.009038, allocations: 340.2 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.009042, allocations: 4 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.00908, allocations: 12 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.009086, allocations: 7.984 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009094, allocations: 7.938 kB / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.009096, allocations: 4.062 kB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009097, allocations: 4 kB / 332.5 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.009228, allocations: 235.9 kB / 332.7 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009243, allocations: 23.83 kB / 332.7 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.009263, allocations: 3.984 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.009313, allocations: 8 kB / 332.8 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.009353, allocations: 7.984 kB / 332.8 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.009369, allocations: 7.938 kB / 332.8 MB, free: 12 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.145e-05/0.00945, allocations: 69.92 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00945, allocations: 0 / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.009622, allocations: 39.94 kB / 332.9 MB, free: 15.9 MB / 314.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 (14): * Single equations (assignments): 12 * 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.001866/0.01149, allocations: 0.6358 MB / 333.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01166, allocations: 56.03 kB / 333.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01166, allocations: 0 / 333.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.01171, allocations: 40.77 kB / 333.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01194, allocations: 36.14 kB / 333.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.01238, allocations: 289.2 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.01244, allocations: 79.72 kB / 334 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.586e-05/0.01249, allocations: 21.14 kB / 334 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.01259, allocations: 71.36 kB / 334.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01259, allocations: 0 / 334.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of Templates: time 0.004493/0.01708, allocations: 2.463 MB / 336.6 MB, free: 12.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.0117680076509714]