Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 213.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.9 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.366, allocations: 65.46 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.6311/0.9971, allocations: 185 MB / 0.7376 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008718/1.006, allocations: 5.034 MB / 0.7426 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/1.007, allocations: 24.66 kB / 0.7426 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/1.008, allocations: 345.8 kB / 0.7429 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/1.015, allocations: 2.17 MB / 0.745 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/1.018, allocations: 0.9407 MB / 0.7459 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002639/1.02, allocations: 1.695 MB / 0.7476 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/1.021, allocations: 383.5 kB / 0.748 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/1.023, allocations: 0.8769 MB / 0.7488 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/1.025, allocations: 0.525 MB / 0.7493 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002568/1.025, allocations: 56.84 kB / 0.7494 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005403/1.03, allocations: 2.521 MB / 0.7519 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/1.031, allocations: 173.9 kB / 0.752 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009366/1.031, allocations: 371.4 kB / 0.7524 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/1.036, allocations: 2.142 MB / 0.7545 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.036, allocations: 0 / 0.7545 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/1.036, allocations: 0 / 0.7545 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.495e-05/1.036, allocations: 3.062 kB / 0.7545 GB, free: 1.523 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.003087/1.04, allocations: 1.089 MB / 0.7555 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.04, allocations: 10.91 kB / 0.7555 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/1.04, allocations: 89.34 kB / 0.7556 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/1.041, allocations: 169.9 kB / 0.7558 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.042, allocations: 433.5 kB / 0.7562 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/1.042, allocations: 33.66 kB / 0.7562 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/1.042, allocations: 50.06 kB / 0.7563 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.044, allocations: 0.6381 MB / 0.7569 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.044, allocations: 4.031 kB / 0.7569 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/1.044, allocations: 22.12 kB / 0.7569 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/1.044, allocations: 17.28 kB / 0.7569 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/1.045, allocations: 497.6 kB / 0.7574 GB, free: 16.52 MB / 0.5762 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.003905/1.048, allocations: 2.602 MB / 0.76 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/1.049, allocations: 297.9 kB / 0.7602 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/1.049, allocations: 138.4 kB / 0.7604 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/1.05, allocations: 57.27 kB / 0.7604 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/1.05, allocations: 44.38 kB / 0.7605 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.946e-06/1.05, allocations: 3.25 kB / 0.7605 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001667/1.051, allocations: 0.6203 MB / 0.7611 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.051, allocations: 162.8 kB / 0.7612 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/1.052, allocations: 0.5095 MB / 0.7617 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/1.052, allocations: 31.83 kB / 0.7618 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/1.052, allocations: 302.2 kB / 0.7621 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.053, allocations: 131.6 kB / 0.7622 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.053, allocations: 117.1 kB / 0.7623 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.053, allocations: 370.2 kB / 0.7626 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/1.053, allocations: 139 kB / 0.7628 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/1.053, allocations: 323.3 kB / 0.7631 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/1.054, allocations: 472.5 kB / 0.7635 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.054, allocations: 2.109 kB / 0.7635 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001128/1.055, allocations: 0.5734 MB / 0.7641 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.055, allocations: 6.875 kB / 0.7641 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.055, allocations: 7.375 kB / 0.7641 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/1.057, allocations: 240.8 kB / 0.7643 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/1.057, allocations: 122.2 kB / 0.7645 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004906/1.058, allocations: 0.5818 MB / 0.765 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/1.058, allocations: 60.86 kB / 0.7651 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/1.058, allocations: 57.3 kB / 0.7651 GB, free: 12.78 MB / 0.5762 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.0003071/1.059, allocations: 194.2 kB / 0.7653 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.059, allocations: 58.33 kB / 0.7654 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/1.06, allocations: 1.104 MB / 0.7665 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.06, allocations: 4.125 kB / 0.7665 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.06, allocations: 0 / 0.7665 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.06, allocations: 4.875 kB / 0.7665 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.062, allocations: 0.9653 MB / 0.7674 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.062, allocations: 3.406 kB / 0.7674 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/1.062, allocations: 57.94 kB / 0.7675 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/1.065, allocations: 433.4 kB / 0.7679 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.065, allocations: 15.31 kB / 0.7679 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004914/1.066, allocations: 0.5954 MB / 0.7685 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.066, allocations: 4.703 kB / 0.7685 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/1.066, allocations: 0.4922 MB / 0.769 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/1.067, allocations: 72.02 kB / 0.769 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.067, allocations: 10.45 kB / 0.769 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/1.067, allocations: 17.77 kB / 0.7691 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/1.067, allocations: 29.44 kB / 0.7691 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/1.067, allocations: 20.86 kB / 0.7691 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005436/1.068, allocations: 431.8 kB / 0.7695 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0.8438 kB / 0.7695 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001281/1.069, allocations: 352 kB / 0.7699 GB, free: 11.16 MB / 0.5762 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.002276/1.071, allocations: 1.373 MB / 0.7712 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008097/1.072, allocations: 358.9 kB / 0.7715 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.072, allocations: 3.969 kB / 0.7715 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/1.072, allocations: 144.9 kB / 0.7717 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.074, allocations: 417.1 kB / 0.7721 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/1.082, allocations: 5.015 MB / 0.777 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/1.083, allocations: 0.8645 MB / 0.7778 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001348/1.084, allocations: 0.5724 MB / 0.7784 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/1.084, allocations: 239.4 kB / 0.7786 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.084, allocations: 0 / 0.7786 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09378/1.178, allocations: 25.4 MB / 0.8034 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.07, allocations: 6.969 kB / 0.8034 GB, free: 11.61 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 18.395210636081174]