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.001643/0.001643, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001791/0.001791, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2242/0.2242, allocations: 44.91 MB / 359.6 MB, free: 6.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",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.002139/0.002139, allocations: 63.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5482/0.8906, allocations: 184.9 MB / 0.7384 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008397/0.899, allocations: 5.03 MB / 0.7433 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.8997, allocations: 26.41 kB / 0.7433 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.9008, allocations: 344.3 kB / 0.7437 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.9075, allocations: 2.168 MB / 0.7458 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.9099, allocations: 0.9457 MB / 0.7467 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.9121, allocations: 1.697 MB / 0.7484 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.9126, allocations: 382 kB / 0.7487 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.9141, allocations: 0.8825 MB / 0.7496 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.9148, allocations: 0.5197 MB / 0.7501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/0.9148, allocations: 53.41 kB / 0.7502 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.9185, allocations: 2.521 MB / 0.7526 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.9187, allocations: 176.2 kB / 0.7528 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.9191, allocations: 374.9 kB / 0.7531 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.922, allocations: 2.137 MB / 0.7552 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.922, allocations: 0 / 0.7552 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.922, allocations: 0.8125 kB / 0.7552 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.922, allocations: 0 / 0.7552 GB, free: 1.52 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.001961/0.9239, allocations: 1.094 MB / 0.7563 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.924, allocations: 10 kB / 0.7563 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.924, allocations: 12.97 kB / 0.7563 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.9241, allocations: 92.84 kB / 0.7564 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.9253, allocations: 169.5 kB / 0.7566 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.9262, allocations: 439.5 kB / 0.757 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.9262, allocations: 34.8 kB / 0.757 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.9263, allocations: 47.19 kB / 0.7571 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.9273, allocations: 0.6395 MB / 0.7577 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.9273, allocations: 3.906 kB / 0.7577 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.9273, allocations: 24.16 kB / 0.7577 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9274, allocations: 11.56 kB / 0.7577 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.9282, allocations: 0.4904 MB / 0.7582 GB, free: 16.51 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.003155/0.9314, allocations: 2.597 MB / 0.7607 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.9325, allocations: 301.9 kB / 0.761 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.9328, allocations: 137.4 kB / 0.7612 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.933, allocations: 63.48 kB / 0.7612 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.9331, allocations: 41.12 kB / 0.7613 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.9331, allocations: 0.9688 kB / 0.7613 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001655/0.9347, allocations: 0.6221 MB / 0.7619 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.9348, allocations: 160.3 kB / 0.762 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.9354, allocations: 0.5158 MB / 0.7625 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.9355, allocations: 31.73 kB / 0.7626 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.9356, allocations: 296.8 kB / 0.7628 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.9357, allocations: 134.1 kB / 0.763 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.9359, allocations: 123.2 kB / 0.7631 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9361, allocations: 366.2 kB / 0.7634 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.9364, allocations: 139 kB / 0.7636 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.9367, allocations: 325.5 kB / 0.7639 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.9374, allocations: 470.8 kB / 0.7643 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9374, allocations: 4 kB / 0.7643 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001013/0.9384, allocations: 0.573 MB / 0.7649 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.9384, allocations: 9.016 kB / 0.7649 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9385, allocations: 6.406 kB / 0.7649 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.9401, allocations: 237.9 kB / 0.7651 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.9405, allocations: 121.2 kB / 0.7652 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005529/0.941, allocations: 0.5809 MB / 0.7658 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.9415, allocations: 66.27 kB / 0.7659 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.9416, allocations: 52.31 kB / 0.7659 GB, free: 12.76 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.0004018/0.942, allocations: 194.2 kB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.9422, allocations: 58.48 kB / 0.7662 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.9439, allocations: 1.095 MB / 0.7672 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9439, allocations: 3.406 kB / 0.7672 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9439, allocations: 6.047 kB / 0.7672 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.9439, allocations: 0 / 0.7672 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.9454, allocations: 0.9644 MB / 0.7682 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9454, allocations: 1.094 kB / 0.7682 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.9456, allocations: 56.08 kB / 0.7682 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/0.9489, allocations: 432.4 kB / 0.7687 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.949, allocations: 13.06 kB / 0.7687 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005843/0.9496, allocations: 0.5935 MB / 0.7692 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9496, allocations: 3.375 kB / 0.7693 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.9505, allocations: 0.4963 MB / 0.7697 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.9507, allocations: 72.78 kB / 0.7698 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9508, allocations: 16.91 kB / 0.7698 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.9511, allocations: 15.55 kB / 0.7698 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.9512, allocations: 30.28 kB / 0.7699 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.9513, allocations: 19.81 kB / 0.7699 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000553/0.9518, allocations: 430.1 kB / 0.7703 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9518, allocations: 0 / 0.7703 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00123/0.953, allocations: 354.1 kB / 0.7706 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.002072/0.9551, allocations: 1.368 MB / 0.772 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009447/0.9561, allocations: 363.2 kB / 0.7723 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.9561, allocations: 3.375 kB / 0.7723 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.9564, allocations: 144.6 kB / 0.7725 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.001922/0.9583, allocations: 418 kB / 0.7729 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/0.9654, allocations: 5.014 MB / 0.7778 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.9658, allocations: 0.8649 MB / 0.7786 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001139/0.967, allocations: 0.5757 MB / 0.7792 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.9673, allocations: 241.8 kB / 0.7794 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/0.9673, allocations: 0.9688 kB / 0.7794 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08343/1.051, allocations: 25.43 MB / 0.8042 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.93, allocations: 7.922 kB / 0.8042 GB, free: 11.56 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.44199587899493]