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.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.00205/0.00205, allocations: 122.1 kB / 17.83 MB, free: 5.242 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.002383/0.002383, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.455/1.455, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.319/0.319, allocations: 44.24 MB / 327.3 MB, free: 6.754 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.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 71.89 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2712, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002165/0.2734, allocations: 1.463 MB / 0.5131 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2749, allocations: 1.464 MB / 0.5145 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.2749, allocations: 1.25 kB / 0.5145 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.2751, allocations: 26.06 kB / 0.5145 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.2753, allocations: 55.12 kB / 0.5146 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2757, allocations: 229.3 kB / 0.5148 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2758, allocations: 48.23 kB / 0.5148 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.2759, allocations: 6.422 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.2759, allocations: 29.55 kB / 0.5149 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.276, allocations: 26.48 kB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.276, allocations: 3.375 kB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.2765, allocations: 337.2 kB / 0.5152 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2765, allocations: 10.78 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.2765, allocations: 22.12 kB / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.2769, allocations: 283.7 kB / 0.5155 GB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2769, allocations: 3.938 kB / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2769, allocations: 0 / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2769, allocations: 1.156 kB / 0.5155 GB, free: 10.21 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.00047/0.2774, allocations: 418.4 kB / 0.5159 GB, free: 9.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2774, allocations: 13.3 kB / 0.5159 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.368e-05/0.2774, allocations: 5.609 kB / 0.516 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.74e-05/0.2774, allocations: 32.28 kB / 0.516 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.2775, allocations: 7.891 kB / 0.516 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.2776, allocations: 175.5 kB / 0.5162 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2776, allocations: 2.969 kB / 0.5162 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2776, allocations: 10.84 kB / 0.5162 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2777, allocations: 67.67 kB / 0.5162 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2777, allocations: 7.891 kB / 0.5162 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2777, allocations: 4 kB / 0.5162 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2777, allocations: 5.859 kB / 0.5163 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.2778, allocations: 53 kB / 0.5163 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.278, allocations: 182 kB / 0.5165 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.278, allocations: 52.03 kB / 0.5165 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.2781, allocations: 45.62 kB / 0.5166 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.2782, allocations: 19.67 kB / 0.5166 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.2782, allocations: 31.91 kB / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2782, allocations: 0 / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02025/0.2984, allocations: 1.639 MB / 0.5182 GB, free: 8.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2985, allocations: 51.41 kB / 0.5183 GB, free: 7.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2986, allocations: 138 kB / 0.5184 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2986, allocations: 25.7 kB / 0.5184 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.2986, allocations: 84.14 kB / 0.5185 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.2987, allocations: 47.58 kB / 0.5186 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2988, allocations: 45.69 kB / 0.5186 GB, free: 7.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2989, allocations: 330.8 kB / 0.5189 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.2995, allocations: 199.9 kB / 0.5191 GB, free: 7.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.3, allocations: 203.9 kB / 0.5193 GB, free: 6.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.3012, allocations: 380.7 kB / 0.5197 GB, free: 6.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3012, allocations: 0 / 0.5197 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001238/0.3024, allocations: 453.5 kB / 0.5201 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3024, allocations: 8 kB / 0.5201 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3024, allocations: 0 / 0.5201 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3024, allocations: 0 / 0.5201 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.303, allocations: 63.94 kB / 0.5202 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.303, allocations: 0 / 0.5202 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.3034, allocations: 39.95 kB / 0.5202 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3034, allocations: 11.98 kB / 0.5202 GB, free: 5.941 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 9.232e-05/0.3035, allocations: 125.9 kB / 0.5203 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.3035, allocations: 7.953 kB / 0.5203 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.3048, allocations: 366 kB / 0.5207 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3048, allocations: 4 kB / 0.5207 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3048, allocations: 0 / 0.5207 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3048, allocations: 0 / 0.5207 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.3074, allocations: 0.7817 MB / 0.5215 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3074, allocations: 0 / 0.5215 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.3079, allocations: 67.86 kB / 0.5215 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3079, allocations: 4 kB / 0.5215 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3079, allocations: 12.09 kB / 0.5215 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3079, allocations: 3.938 kB / 0.5215 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3079, allocations: 7.984 kB / 0.5215 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3091, allocations: 417.8 kB / 0.5219 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.3092, allocations: 109 kB / 0.522 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3092, allocations: 4 kB / 0.5221 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.3097, allocations: 47.89 kB / 0.5221 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.3097, allocations: 4 kB / 0.5221 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.3097, allocations: 11.98 kB / 0.5221 GB, free: 3.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.3098, allocations: 106.4 kB / 0.5222 GB, free: 3.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3098, allocations: 0 / 0.5222 GB, free: 3.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.3103, allocations: 171.6 kB / 0.5224 GB, free: 3.594 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.001895/0.3122, allocations: 1.101 MB / 0.5235 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3134, allocations: 355.7 kB / 0.5238 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3135, allocations: 0 / 0.5238 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.314, allocations: 144 kB / 0.5239 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3144, allocations: 24.3 kB / 0.524 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/0.3208, allocations: 2.766 MB / 0.5267 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3211, allocations: 0.6924 MB / 0.5273 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3213, allocations: 44.73 kB / 0.5274 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3215, allocations: 39.39 kB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3215, allocations: 0 / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.3499, allocations: 9.985 MB / 0.5372 GB, free: 4.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/8.995, allocations: 4.484 kB / 0.5372 GB, free: 4.258 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.852794409962371]