Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 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 1.581/1.581, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] 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.3411/0.3411, allocations: 44.23 MB / 326.5 MB, free: 6.867 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 80.3 kB / 462.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3275, allocations: 60.99 MB / 0.5109 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002564/0.33, allocations: 1.464 MB / 0.5123 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3318, allocations: 1.474 MB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.3319, allocations: 0 / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.332, allocations: 28.39 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3322, allocations: 51.89 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.3327, allocations: 222.3 kB / 0.5141 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3328, allocations: 59.8 kB / 0.5141 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.3329, allocations: 10.14 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.3329, allocations: 24.23 kB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.333, allocations: 26.2 kB / 0.5142 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.333, allocations: 2.594 kB / 0.5142 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.3335, allocations: 339.2 kB / 0.5145 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3335, allocations: 10.7 kB / 0.5145 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3336, allocations: 21.59 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.334, allocations: 283.8 kB / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.334, allocations: 0 / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.334, allocations: 0 / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.334, allocations: 0 / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000443/0.3344, allocations: 419.8 kB / 0.5152 GB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3345, allocations: 17.42 kB / 0.5152 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.3345, allocations: 32.12 kB / 0.5152 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3345, allocations: 11.64 kB / 0.5153 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.3346, allocations: 172.4 kB / 0.5154 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3346, allocations: 1.75 kB / 0.5154 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3346, allocations: 3.125 kB / 0.5154 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3348, allocations: 67.48 kB / 0.5155 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3348, allocations: 3.953 kB / 0.5155 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3348, allocations: 9.375 kB / 0.5155 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3348, allocations: 0 / 0.5155 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.3349, allocations: 62.14 kB / 0.5156 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.335, allocations: 178.2 kB / 0.5157 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.3351, allocations: 55.17 kB / 0.5158 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.3351, allocations: 41.33 kB / 0.5158 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3352, allocations: 20.31 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.3352, allocations: 35.94 kB / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.3352, allocations: 0 / 0.5159 GB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01907/0.3543, allocations: 1.633 MB / 0.5175 GB, free: 8.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3543, allocations: 55.34 kB / 0.5175 GB, free: 8.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.3544, allocations: 134.1 kB / 0.5177 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3544, allocations: 25.7 kB / 0.5177 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.3545, allocations: 92.11 kB / 0.5178 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3545, allocations: 47.58 kB / 0.5178 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.3546, allocations: 41.69 kB / 0.5179 GB, free: 7.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.3546, allocations: 318.8 kB / 0.5182 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.3552, allocations: 211.8 kB / 0.5184 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.3557, allocations: 207.8 kB / 0.5186 GB, free: 6.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3567, allocations: 376.7 kB / 0.5189 GB, free: 6.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3567, allocations: 4 kB / 0.5189 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001167/0.3579, allocations: 449.5 kB / 0.5193 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3579, allocations: 8 kB / 0.5194 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3579, allocations: 0 / 0.5194 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.358, allocations: 3.984 kB / 0.5194 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.3585, allocations: 63.94 kB / 0.5194 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3585, allocations: 8.234 kB / 0.5194 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.3588, allocations: 35.97 kB / 0.5195 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3589, allocations: 11.97 kB / 0.5195 GB, free: 5.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.359, allocations: 121.8 kB / 0.5196 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.359, allocations: 7.953 kB / 0.5196 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.3602, allocations: 374 kB / 0.52 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3602, allocations: 0 / 0.52 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3603, allocations: 0 / 0.52 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3603, allocations: 7.984 kB / 0.52 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.3627, allocations: 0.7739 MB / 0.5207 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3627, allocations: 0 / 0.5207 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.3631, allocations: 64.03 kB / 0.5208 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3631, allocations: 4 kB / 0.5208 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3631, allocations: 11.98 kB / 0.5208 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3631, allocations: 7.875 kB / 0.5208 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3631, allocations: 4 kB / 0.5208 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3642, allocations: 418 kB / 0.5212 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.3643, allocations: 116.9 kB / 0.5213 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3643, allocations: 0 / 0.5213 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3647, allocations: 47.91 kB / 0.5214 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.3647, allocations: 11.92 kB / 0.5214 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3647, allocations: 7.984 kB / 0.5214 GB, free: 3.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.413e-05/0.3648, allocations: 102.8 kB / 0.5215 GB, free: 3.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3648, allocations: 0 / 0.5215 GB, free: 3.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006566/0.3654, allocations: 171.6 kB / 0.5216 GB, free: 3.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/0.3671, allocations: 1.105 MB / 0.5227 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3682, allocations: 359.7 kB / 0.5231 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3682, allocations: 0 / 0.5231 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.3687, allocations: 140 kB / 0.5232 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3691, allocations: 23.86 kB / 0.5232 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.3751, allocations: 2.751 MB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3754, allocations: 0.7002 MB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.3756, allocations: 40.86 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3758, allocations: 39.41 kB / 0.5267 GB, free: 14.31 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3758, allocations: 0 / 0.5267 GB, free: 14.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.4115, allocations: 9.941 MB / 0.5364 GB, free: 4.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.538, allocations: 12.44 kB / 0.5364 GB, free: 4.332 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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: 11.529038089793175]