Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001871/0.001871, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001415/0.001415, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2249/0.2249, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 83.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3078, allocations: 66.07 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.1992/0.507, allocations: 160 MB / 0.7169 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.5146, allocations: 4.607 MB / 0.7214 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.5153, allocations: 31.69 kB / 0.7215 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009905/0.5163, allocations: 329.8 kB / 0.7218 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.5217, allocations: 2.165 MB / 0.7239 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.5241, allocations: 0.9376 MB / 0.7248 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.5263, allocations: 1.691 MB / 0.7265 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.5269, allocations: 378.5 kB / 0.7268 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.5286, allocations: 0.8877 MB / 0.7277 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007986/0.5294, allocations: 0.5019 MB / 0.7282 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.5295, allocations: 52 kB / 0.7282 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.5327, allocations: 1.267 MB / 0.7295 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.5329, allocations: 183.3 kB / 0.7296 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.5334, allocations: 314.7 kB / 0.7299 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.5363, allocations: 1.811 MB / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5363, allocations: 0 / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5363, allocations: 0 / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.5363, allocations: 0 / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002206/0.5385, allocations: 1.08 MB / 0.7328 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5386, allocations: 16.02 kB / 0.7328 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.5387, allocations: 86.53 kB / 0.7329 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5399, allocations: 159.5 kB / 0.733 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.5408, allocations: 453.5 kB / 0.7335 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.5408, allocations: 29 kB / 0.7335 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.5409, allocations: 48 kB / 0.7335 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.5423, allocations: 1.049 MB / 0.7346 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5423, allocations: 3.938 kB / 0.7346 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.5424, allocations: 24 kB / 0.7346 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5424, allocations: 12 kB / 0.7346 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.5433, allocations: 487.6 kB / 0.7351 GB, free: 0.6094 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2416/0.7849, allocations: 2.087 MB / 0.7371 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.7857, allocations: 298.5 kB / 0.7374 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.7861, allocations: 146 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.7863, allocations: 47.12 kB / 0.7376 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.7864, allocations: 43.3 kB / 0.7376 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.257e-06/0.7864, allocations: 0 / 0.7376 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001819/0.7882, allocations: 0.6269 MB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.7882, allocations: 159.8 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.7889, allocations: 0.5202 MB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.7889, allocations: 33.58 kB / 0.7389 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.7891, allocations: 301.5 kB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.7892, allocations: 125.4 kB / 0.7393 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.7893, allocations: 122.9 kB / 0.7394 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.7894, allocations: 367.9 kB / 0.7398 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.7897, allocations: 141 kB / 0.7399 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.79, allocations: 425.3 kB / 0.7403 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.7906, allocations: 468.8 kB / 0.7408 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7906, allocations: 0 / 0.7408 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008371/0.7914, allocations: 0.5813 MB / 0.7413 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7914, allocations: 7.5 kB / 0.7413 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7914, allocations: 8.406 kB / 0.7414 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.7929, allocations: 237.7 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.7932, allocations: 122.5 kB / 0.7417 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.7936, allocations: 0.5843 MB / 0.7423 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.7939, allocations: 58.84 kB / 0.7423 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.794, allocations: 52.48 kB / 0.7424 GB, free: 171.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.7942, allocations: 193.4 kB / 0.7426 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7943, allocations: 66.34 kB / 0.7426 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.7958, allocations: 1.092 MB / 0.7437 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7958, allocations: 4 kB / 0.7437 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7958, allocations: 3.938 kB / 0.7437 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7958, allocations: 4 kB / 0.7437 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.7968, allocations: 0.9109 MB / 0.7446 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7968, allocations: 4 kB / 0.7446 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.797, allocations: 51.91 kB / 0.7446 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.8, allocations: 435.5 kB / 0.7451 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.8, allocations: 8 kB / 0.7451 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002946/0.8003, allocations: 0.5976 MB / 0.7456 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8003, allocations: 4.031 kB / 0.7457 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.8009, allocations: 0.4903 MB / 0.7461 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.801, allocations: 63.83 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.8011, allocations: 21 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.8015, allocations: 12 kB / 0.7462 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.8016, allocations: 31.03 kB / 0.7463 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.8016, allocations: 20.64 kB / 0.7463 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004105/0.802, allocations: 430.8 kB / 0.7467 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.802, allocations: 0 / 0.7467 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008961/0.8029, allocations: 353.9 kB / 0.747 GB, free: 167.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.8044, allocations: 1.374 MB / 0.7484 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006946/0.8051, allocations: 364.8 kB / 0.7487 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8051, allocations: 3.469 kB / 0.7487 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.8053, allocations: 143.8 kB / 0.7488 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.807, allocations: 413.3 kB / 0.7492 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.8122, allocations: 5.004 MB / 0.7541 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.8123, allocations: 272 kB / 0.7544 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009091/0.8132, allocations: 0.5674 MB / 0.7549 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.8136, allocations: 243.3 kB / 0.7552 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8136, allocations: 0 / 0.7552 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.8664, allocations: 27.09 MB / 0.7816 GB, free: 132 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.01, allocations: 3.609 kB / 0.7816 GB, free: 132 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.107502976898104]