Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001849/0.001849, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002204/0.002204, allocations: 215.8 kB / 23.73 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2148/0.2148, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",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.002117/0.002117, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002826/0.3317, allocations: 1.451 MB / 0.5584 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3337, allocations: 1.29 MB / 0.5596 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3337, allocations: 0 / 0.5596 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3339, allocations: 31.64 kB / 0.5597 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3341, allocations: 39.7 kB / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3346, allocations: 231.1 kB / 0.5599 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.3347, allocations: 55.78 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3347, allocations: 0 / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.3348, allocations: 27.86 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3348, allocations: 27.84 kB / 0.56 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3349, allocations: 4 kB / 0.56 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.3354, allocations: 271.6 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3354, allocations: 12 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.3355, allocations: 27.8 kB / 0.5603 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.3359, allocations: 257.2 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3359, allocations: 0 / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3359, allocations: 0 / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3359, allocations: 0 / 0.5606 GB, free: 3.816 MB / 398.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.0005276/0.3364, allocations: 345.5 kB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3365, allocations: 16.02 kB / 0.5609 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3365, allocations: 30.75 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.3365, allocations: 8.891 kB / 0.561 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3367, allocations: 121 kB / 0.5611 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3367, allocations: 4.375 kB / 0.5611 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3367, allocations: 4.375 kB / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3368, allocations: 69.61 kB / 0.5612 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3368, allocations: 0 / 0.5612 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3368, allocations: 4 kB / 0.5612 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3369, allocations: 3.938 kB / 0.5612 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.337, allocations: 55.97 kB / 0.5612 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3372, allocations: 164.6 kB / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.3372, allocations: 54.5 kB / 0.5614 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3373, allocations: 40.84 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.3374, allocations: 27.92 kB / 0.5615 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3374, allocations: 38.5 kB / 0.5615 GB, free: 2.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3374, allocations: 0 / 0.5615 GB, free: 2.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02055/0.3579, allocations: 1.63 MB / 0.5631 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.358, allocations: 59.34 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3581, allocations: 134.1 kB / 0.5633 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3582, allocations: 25.7 kB / 0.5633 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.3582, allocations: 92.08 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3583, allocations: 39.64 kB / 0.5635 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3584, allocations: 45.69 kB / 0.5635 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3585, allocations: 318.8 kB / 0.5638 GB, free: 316 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.3592, allocations: 211.8 kB / 0.564 GB, free: 104 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.3599, allocations: 203.9 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.3612, allocations: 391.7 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3612, allocations: 4 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001472/0.3627, allocations: 457.4 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3627, allocations: 4 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3627, allocations: 4 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3627, allocations: 4 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.3632, allocations: 63.88 kB / 0.5651 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3633, allocations: 7.938 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3637, allocations: 43.95 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3637, allocations: 7.984 kB / 0.5651 GB, free: 14.93 MB / 414.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.0001312/0.3638, allocations: 117.8 kB / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3639, allocations: 11.94 kB / 0.5653 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.3653, allocations: 370 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3653, allocations: 0 / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3653, allocations: 0 / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3653, allocations: 0 / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.3683, allocations: 0.7262 MB / 0.5663 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3683, allocations: 96 / 0.5663 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.3688, allocations: 71.97 kB / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3688, allocations: 0 / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3688, allocations: 7.984 kB / 0.5664 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3688, allocations: 7.938 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3688, allocations: 3.938 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3702, allocations: 417.8 kB / 0.5668 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3703, allocations: 39.89 kB / 0.5669 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.3703, allocations: 8 kB / 0.5669 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.3708, allocations: 43.89 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.3708, allocations: 11.92 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.3709, allocations: 15.98 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.22e-05/0.3709, allocations: 97.94 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3709, allocations: 0 / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.3715, allocations: 167.6 kB / 0.5672 GB, free: 12.74 MB / 414.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.002244/0.3737, allocations: 1.105 MB / 0.5683 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3751, allocations: 359.7 kB / 0.5686 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3751, allocations: 0 / 0.5686 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.3757, allocations: 140 kB / 0.5687 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3761, allocations: 23.98 kB / 0.5688 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.3833, allocations: 2.774 MB / 0.5715 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.3834, allocations: 79.89 kB / 0.5716 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3836, allocations: 36.69 kB / 0.5716 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3838, allocations: 39.41 kB / 0.5716 GB, free: 8.043 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3838, allocations: 0 / 0.5716 GB, free: 8.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4255, allocations: 10.88 MB / 0.5823 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 14.25 kB / 0.5823 GB, free: 13.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.545606492087245]