Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001382/0.001382, allocations: 113.1 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.001538/0.001538, allocations: 214.7 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 46.93 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.91 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3277, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5285/0.8562, allocations: 184.9 MB / 0.7413 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006429/0.8626, allocations: 5.038 MB / 0.7462 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.8633, allocations: 22.75 kB / 0.7462 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.8642, allocations: 347.3 kB / 0.7465 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.8691, allocations: 2.163 MB / 0.7487 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.8712, allocations: 0.9408 MB / 0.7496 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.873, allocations: 1.702 MB / 0.7512 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.8735, allocations: 380 kB / 0.7516 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.875, allocations: 0.8805 MB / 0.7525 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006262/0.8756, allocations: 0.5223 MB / 0.753 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.8757, allocations: 55.41 kB / 0.753 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.8791, allocations: 2.523 MB / 0.7555 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.8793, allocations: 174.9 kB / 0.7556 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.8797, allocations: 374.8 kB / 0.756 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.8826, allocations: 2.13 MB / 0.7581 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8826, allocations: 1.062 kB / 0.7581 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8826, allocations: 3.938 kB / 0.7581 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.8826, allocations: 4 kB / 0.7581 GB, free: 1.539 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.001855/0.8845, allocations: 1.094 MB / 0.7592 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.8845, allocations: 9.406 kB / 0.7592 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.8846, allocations: 89.81 kB / 0.7593 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.8857, allocations: 169.5 kB / 0.7594 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.8865, allocations: 437.4 kB / 0.7598 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.8865, allocations: 34.44 kB / 0.7599 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.8866, allocations: 47.25 kB / 0.7599 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.8875, allocations: 0.6416 MB / 0.7605 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.8875, allocations: 3.094 kB / 0.7605 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.8876, allocations: 25.7 kB / 0.7606 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.8876, allocations: 10.25 kB / 0.7606 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.8883, allocations: 499.5 kB / 0.7611 GB, free: 16.53 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.002804/0.8911, allocations: 2.601 MB / 0.7636 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.8916, allocations: 296.2 kB / 0.7639 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.8919, allocations: 151.8 kB / 0.764 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.8921, allocations: 53.72 kB / 0.7641 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.8921, allocations: 36.03 kB / 0.7641 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.8921, allocations: 0.9688 kB / 0.7641 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00136/0.8935, allocations: 0.6226 MB / 0.7647 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.8936, allocations: 166.1 kB / 0.7649 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.894, allocations: 0.5067 MB / 0.7654 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.8941, allocations: 35.86 kB / 0.7654 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.8943, allocations: 297.3 kB / 0.7657 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.8943, allocations: 136.5 kB / 0.7658 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.8945, allocations: 120.2 kB / 0.7659 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.8947, allocations: 363.3 kB / 0.7663 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.8949, allocations: 144.8 kB / 0.7664 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.8952, allocations: 317.1 kB / 0.7667 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.8958, allocations: 471.5 kB / 0.7672 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8958, allocations: 3.938 kB / 0.7672 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008433/0.8966, allocations: 0.5712 MB / 0.7677 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.8966, allocations: 11.45 kB / 0.7677 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8966, allocations: 3.281 kB / 0.7677 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.898, allocations: 237.2 kB / 0.768 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.8984, allocations: 123.2 kB / 0.7681 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004681/0.8989, allocations: 0.5778 MB / 0.7687 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.8992, allocations: 66.02 kB / 0.7687 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.8993, allocations: 53.03 kB / 0.7688 GB, free: 12.79 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.0002658/0.8996, allocations: 195.5 kB / 0.769 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.8997, allocations: 56.36 kB / 0.769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.9012, allocations: 1.102 MB / 0.7701 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.9012, allocations: 3.406 kB / 0.7701 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9013, allocations: 8.125 kB / 0.7701 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9013, allocations: 3.984 kB / 0.7701 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.9025, allocations: 0.9574 MB / 0.771 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9025, allocations: 2.188 kB / 0.771 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.9027, allocations: 60.69 kB / 0.7711 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/0.9056, allocations: 439.2 kB / 0.7715 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.9057, allocations: 9.156 kB / 0.7715 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.9061, allocations: 0.5905 MB / 0.7721 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9061, allocations: 2.75 kB / 0.7721 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.9068, allocations: 0.4976 MB / 0.7726 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9069, allocations: 78.19 kB / 0.7727 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.907, allocations: 15.98 kB / 0.7727 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.9074, allocations: 14.84 kB / 0.7727 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.9074, allocations: 30.36 kB / 0.7727 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.9074, allocations: 17.36 kB / 0.7727 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004324/0.9079, allocations: 429.1 kB / 0.7731 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9079, allocations: 0.75 kB / 0.7731 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009548/0.9088, allocations: 357.5 kB / 0.7735 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.001759/0.9106, allocations: 1.375 MB / 0.7748 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006974/0.9113, allocations: 358.2 kB / 0.7752 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9113, allocations: 0.9688 kB / 0.7752 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.9115, allocations: 147.3 kB / 0.7753 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.9133, allocations: 419.8 kB / 0.7757 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.9196, allocations: 5 MB / 0.7806 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.9202, allocations: 0.8679 MB / 0.7814 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001163/0.9213, allocations: 0.57 MB / 0.782 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.9217, allocations: 242.2 kB / 0.7822 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.9217, allocations: 1.203 kB / 0.7822 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06496/0.9866, allocations: 25.4 MB / 0.807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.77, allocations: 8.062 kB / 0.807 GB, free: 10.38 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 17.842030128929764]