Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.001196/0.001196, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001347/0.001347, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.059/1.059, allocations: 177 MB / 205.2 MB, free: 5.066 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.2669/0.2669, 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.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 326 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.597e-05, allocations: 5.406 kB / 326 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.006839/0.006865, allocations: 6.592 MB / 332.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.01191, allocations: 4.753 MB / 337.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.01215, allocations: 19.81 kB / 337.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.01254, allocations: 146.9 kB / 337.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01373, allocations: 0.6992 MB / 338.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.01597, allocations: 1.473 MB / 339.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.01697, allocations: 1.169 MB / 340.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.0173, allocations: 297.6 kB / 341.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.01796, allocations: 0.639 MB / 341.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.01836, allocations: 387 kB / 342.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.01841, allocations: 40 kB / 342.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.01949, allocations: 0.9481 MB / 343.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.01963, allocations: 179.4 kB / 343.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.01978, allocations: 187.6 kB / 343.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.02086, allocations: 1.207 MB / 344.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.02087, allocations: 0 / 344.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02087, allocations: 4 kB / 344.7 MB, free: 4.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.02087, allocations: 0 / 344.7 MB, free: 4.348 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009566/0.02183, allocations: 0.8539 MB / 345.5 MB, free: 3.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.02186, allocations: 8.031 kB / 345.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.02204, allocations: 76.69 kB / 345.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.02243, allocations: 371.5 kB / 346 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.02245, allocations: 28.59 kB / 346 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.02249, allocations: 31.98 kB / 346 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.02293, allocations: 0.5937 MB / 346.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.02294, allocations: 0 / 346.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.02297, allocations: 15.98 kB / 346.6 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.023, allocations: 24.64 kB / 346.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.02323, allocations: 201.2 kB / 346.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.02459, allocations: 1.395 MB / 348.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.02476, allocations: 170.9 kB / 348.4 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.02482, allocations: 66.55 kB / 348.5 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.0253, allocations: 474.1 kB / 348.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.0255, allocations: 291.7 kB / 349.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.0255, allocations: 0 / 349.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002342/0.02573, allocations: 232.1 kB / 349.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.02581, allocations: 239.3 kB / 349.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.02604, allocations: 395 kB / 350.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.02606, allocations: 29.7 kB / 350.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.02617, allocations: 256.8 kB / 350.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.02621, allocations: 63.47 kB / 350.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-05/0.02631, allocations: 89.59 kB / 350.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.0264, allocations: 358.7 kB / 350.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.02648, allocations: 81.8 kB / 350.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.02666, allocations: 397.2 kB / 351.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.02688, allocations: 318.8 kB / 351.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02688, allocations: 4 kB / 351.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002814/0.02716, allocations: 320.8 kB / 352 MB, free: 12.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.02719, allocations: 33.7 kB / 352 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.0272, allocations: 8.031 kB / 352 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.02721, allocations: 8 kB / 352 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.02738, allocations: 79.89 kB / 352.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.02739, allocations: 15.88 kB / 352.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.02755, allocations: 43.67 kB / 352.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.02757, allocations: 19.98 kB / 352.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001214/0.02769, allocations: 164.7 kB / 352.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001874/0.02788, allocations: 405.9 kB / 352.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000206/0.02809, allocations: 319.7 kB / 353 MB, free: 11.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.02809, allocations: 0 / 353 MB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0002726/0.02836, allocations: 317 kB / 353.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.02838, allocations: 37.69 kB / 353.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.02839, allocations: 4.125 kB / 353.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.02839, allocations: 8 kB / 353.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.02853, allocations: 79.91 kB / 353.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.02854, allocations: 15.92 kB / 353.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.0287, allocations: 43.78 kB / 353.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.02872, allocations: 16.33 kB / 353.5 MB, free: 10.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001153/0.02884, allocations: 245.8 kB / 353.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.02887, allocations: 35.95 kB / 353.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.02909, allocations: 212.8 kB / 354 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.02909, allocations: 0 / 354 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.02909, allocations: 3.938 kB / 354 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0291, allocations: 0 / 354 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.02927, allocations: 189.6 kB / 354.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.02927, allocations: 4 kB / 354.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.02933, allocations: 27.92 kB / 354.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.02933, allocations: 0 / 354.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.02934, allocations: 4 kB / 354.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.02934, allocations: 0 / 354.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02934, allocations: 0 / 354.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.02952, allocations: 240.4 kB / 354.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.02956, allocations: 35.66 kB / 354.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.0296, allocations: 8 kB / 354.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.02968, allocations: 15.98 kB / 354.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.02971, allocations: 7.984 kB / 354.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.02972, allocations: 12 kB / 354.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.02984, allocations: 156.7 kB / 354.7 MB, free: 9.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02984, allocations: 3.938 kB / 354.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005842/0.03042, allocations: 438.8 kB / 355.1 MB, free: 8.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005275/0.03095, allocations: 398.3 kB / 355.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.03135, allocations: 493 kB / 356 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.03136, allocations: 8 kB / 356 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.03145, allocations: 141.9 kB / 356.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.03183, allocations: 181.1 kB / 356.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.03288, allocations: 0.7638 MB / 357.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.98e-05/0.03295, allocations: 121.3 kB / 357.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.03316, allocations: 90.45 kB / 357.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.03351, allocations: 209.1 kB / 357.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03351, allocations: 0 / 357.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of Templates: time 0.01314/0.04665, allocations: 12.09 MB / 369.6 MB, free: 10.48 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.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.4051799681037664]