Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008117/0.0008117, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009131/0.0009131, allocations: 169.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8286/0.8286, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.13/0.13, allocations: 32.36 MB / 269.6 MB, free: 15.05 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 3.938 kB / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.866e-05, allocations: 5.938 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2837/0.2837, allocations: 162.8 MB / 0.5563 GB, free: 2.086 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.2898, allocations: 6.799 MB / 0.5629 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.2903, allocations: 25.91 kB / 0.563 GB, free: 13.55 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.291, allocations: 327 kB / 0.5633 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.296, allocations: 2.796 MB / 0.566 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.2979, allocations: 0.9561 MB / 0.5669 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.2993, allocations: 1.696 MB / 0.5686 GB, free: 9.699 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.2997, allocations: 370.9 kB / 0.5689 GB, free: 9.445 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3008, allocations: 1.092 MB / 0.57 GB, free: 8.785 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.3012, allocations: 456.9 kB / 0.5704 GB, free: 8.562 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3013, allocations: 53.5 kB / 0.5705 GB, free: 8.562 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.3031, allocations: 1.451 MB / 0.5719 GB, free: 7.855 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3033, allocations: 175.3 kB / 0.5721 GB, free: 7.723 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3034, allocations: 272.9 kB / 0.5723 GB, free: 7.605 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.3052, allocations: 2.053 MB / 0.5743 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3052, allocations: 0 / 0.5743 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3052, allocations: 0 / 0.5743 GB, free: 6.344 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3052, allocations: 0 / 0.5743 GB, free: 6.344 MB / 458.7 MB 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.00127/0.3065, allocations: 1.11 MB / 0.5754 GB, free: 5.512 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3065, allocations: 8.312 kB / 0.5754 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.3066, allocations: 92.89 kB / 0.5755 GB, free: 5.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.3072, allocations: 158.9 kB / 0.5757 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.3077, allocations: 439.6 kB / 0.5761 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3077, allocations: 36.56 kB / 0.5761 GB, free: 4.996 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.3078, allocations: 38.47 kB / 0.5762 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.3086, allocations: 1.045 MB / 0.5772 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3086, allocations: 3.938 kB / 0.5772 GB, free: 4.047 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.3086, allocations: 23.16 kB / 0.5772 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.3086, allocations: 11.44 kB / 0.5772 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.3094, allocations: 0.4908 MB / 0.5777 GB, free: 3.797 MB / 458.7 MB 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.001779/0.3112, allocations: 2.107 MB / 0.5798 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.3116, allocations: 294.5 kB / 0.58 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3118, allocations: 144.7 kB / 0.5802 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/0.3123, allocations: 410.5 kB / 0.5806 GB, free: 1.012 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3123, allocations: 38.56 kB / 0.5806 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.3123, allocations: 0 / 0.5806 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009859/0.3133, allocations: 0.6187 MB / 0.5812 GB, free: 344 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3134, allocations: 162.2 kB / 0.5814 GB, free: 144 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3138, allocations: 0.5144 MB / 0.5819 GB, free: 15.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3138, allocations: 33.7 kB / 0.5819 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3139, allocations: 296.2 kB / 0.5822 GB, free: 15.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.314, allocations: 136.2 kB / 0.5823 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3141, allocations: 114.1 kB / 0.5824 GB, free: 15.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.3142, allocations: 366.8 kB / 0.5828 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3144, allocations: 144.9 kB / 0.5829 GB, free: 14.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.3147, allocations: 421.1 kB / 0.5833 GB, free: 14.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.3151, allocations: 474.6 kB / 0.5838 GB, free: 13.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3151, allocations: 0 / 0.5838 GB, free: 13.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006238/0.3157, allocations: 0.5566 MB / 0.5843 GB, free: 12.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3157, allocations: 15.88 kB / 0.5843 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3157, allocations: 4 kB / 0.5843 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.3165, allocations: 252 kB / 0.5846 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3169, allocations: 115.9 kB / 0.5847 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003017/0.3172, allocations: 0.5797 MB / 0.5852 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.3174, allocations: 59.52 kB / 0.5853 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.3175, allocations: 55.98 kB / 0.5854 GB, free: 11.82 MB / 474.7 MB 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.0001706/0.3177, allocations: 201.3 kB / 0.5855 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.3177, allocations: 59.62 kB / 0.5856 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008691/0.3186, allocations: 0.7306 MB / 0.5863 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3186, allocations: 4 kB / 0.5863 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3186, allocations: 0 / 0.5863 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3186, allocations: 3.984 kB / 0.5863 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.3195, allocations: 0.9138 MB / 0.5872 GB, free: 9.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3195, allocations: 4 kB / 0.5872 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3196, allocations: 47.91 kB / 0.5873 GB, free: 9.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.3209, allocations: 436.4 kB / 0.5877 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3209, allocations: 8 kB / 0.5877 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002633/0.3212, allocations: 0.604 MB / 0.5883 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3212, allocations: 4.031 kB / 0.5883 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.3217, allocations: 0.5001 MB / 0.5888 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.3217, allocations: 63.55 kB / 0.5888 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3218, allocations: 19.89 kB / 0.5889 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3219, allocations: 12 kB / 0.5889 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.322, allocations: 23.95 kB / 0.5889 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.322, allocations: 21.8 kB / 0.5889 GB, free: 8.023 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.3223, allocations: 434.7 kB / 0.5893 GB, free: 7.602 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3223, allocations: 0 / 0.5893 GB, free: 7.602 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.323, allocations: 382.9 kB / 0.5897 GB, free: 7.227 MB / 474.7 MB 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.001408/0.3245, allocations: 1.474 MB / 0.5911 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.3249, allocations: 357 kB / 0.5915 GB, free: 5.367 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3249, allocations: 4 kB / 0.5915 GB, free: 5.363 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3251, allocations: 144 kB / 0.5916 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.3264, allocations: 409.7 kB / 0.592 GB, free: 4.832 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.3307, allocations: 5 MB / 0.5969 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.3308, allocations: 272 kB / 0.5971 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005043/0.3313, allocations: 221.2 kB / 0.5974 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3316, allocations: 228.4 kB / 0.5976 GB, free: 14.85 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3316, allocations: 4 kB / 0.5976 GB, free: 14.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.3672, allocations: 27.95 MB / 0.6249 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.358, allocations: 3.859 kB / 0.6249 GB, free: 2.867 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.391702652908862]