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.0009153/0.0009153, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001052/0.001052, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8734/0.8734, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.222/0.222, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.045e-05, allocations: 6.844 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001858/0.001879, allocations: 1.436 MB / 441 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003116, allocations: 1.3 MB / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.003152, allocations: 0 / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003294, allocations: 35.78 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.00347, allocations: 47.69 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.003831, allocations: 230.9 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.003926, allocations: 55.67 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.003962, allocations: 3.984 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.004021, allocations: 35.84 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.004073, allocations: 23.95 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.004083, allocations: 0 / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.004451, allocations: 267.6 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.004465, allocations: 15.91 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.004489, allocations: 15.94 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.004801, allocations: 303.1 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004803, allocations: 4 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004804, allocations: 4 kB / 443.4 MB, free: 472 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004809, allocations: 0 / 443.4 MB, free: 472 kB / 410.7 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.0004568/0.005265, allocations: 345.5 kB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005304, allocations: 8.031 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.00533, allocations: 30.75 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.005353, allocations: 8.891 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1492/0.1546, allocations: 115.9 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1546, allocations: 3.25 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1546, allocations: 3.438 kB / 443.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1548, allocations: 74.34 kB / 443.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1548, allocations: 1.688 kB / 443.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1548, allocations: 0 / 443.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1548, allocations: 0 / 443.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.872e-05/0.1549, allocations: 67.81 kB / 444 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.155, allocations: 157.2 kB / 444.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.1551, allocations: 55.17 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.1551, allocations: 38.94 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.1551, allocations: 22.31 kB / 444.3 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.1552, allocations: 34.31 kB / 444.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1552, allocations: 0 / 444.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.008327/0.1635, allocations: 1.63 MB / 445.9 MB, free: 46.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1635, allocations: 58.25 kB / 446 MB, free: 46.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.1636, allocations: 138.1 kB / 446.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1636, allocations: 25.7 kB / 446.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.703e-05/0.1636, allocations: 90.53 kB / 446.2 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1636, allocations: 40.83 kB / 446.3 MB, free: 45.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.1637, allocations: 50.47 kB / 446.3 MB, free: 45.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.595e-05/0.1637, allocations: 320.8 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.164, allocations: 201 kB / 446.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.1643, allocations: 210.4 kB / 447 MB, free: 45.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.1648, allocations: 385.7 kB / 447.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1648, allocations: 0 / 447.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006167/0.1654, allocations: 467.8 kB / 447.9 MB, free: 45.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1655, allocations: 2.875 kB / 447.9 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1655, allocations: 5.922 kB / 447.9 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1655, allocations: 11.94 kB / 447.9 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1657, allocations: 66.69 kB / 448 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1657, allocations: 3.531 kB / 448 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1659, allocations: 36.61 kB / 448 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1659, allocations: 12.48 kB / 448 MB, free: 45.02 MB / 410.7 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 6.418e-05/0.166, allocations: 118.2 kB / 448.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.166, allocations: 13.53 kB / 448.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.1666, allocations: 362.1 kB / 448.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1666, allocations: 2.844 kB / 448.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1666, allocations: 3.938 kB / 448.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1666, allocations: 7.938 kB / 448.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1679, allocations: 0.717 MB / 449.2 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1679, allocations: 6.844 kB / 449.2 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1681, allocations: 64.91 kB / 449.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1681, allocations: 0 / 449.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1681, allocations: 13 kB / 449.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1681, allocations: 4 kB / 449.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1681, allocations: 0 / 449.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.1687, allocations: 421.7 kB / 449.7 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.1687, allocations: 35 kB / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1687, allocations: 10.48 kB / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1689, allocations: 39.84 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1689, allocations: 8.453 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1689, allocations: 12.98 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.621e-05/0.169, allocations: 100.4 kB / 449.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.169, allocations: 3.938 kB / 449.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.1693, allocations: 170.6 kB / 450.1 MB, free: 44.02 MB / 410.7 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.001018/0.1703, allocations: 1.123 MB / 451.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1709, allocations: 356.5 kB / 451.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1709, allocations: 0 / 451.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1712, allocations: 151.2 kB / 451.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1715, allocations: 16.41 kB / 451.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1744, allocations: 2.751 MB / 454.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.1745, allocations: 92.3 kB / 454.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1746, allocations: 39.53 kB / 454.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1747, allocations: 39.27 kB / 454.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1747, allocations: 192 / 454.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.1949, allocations: 11.03 MB / 465.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.064, allocations: 3.094 kB / 465.7 MB, free: 39.68 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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: 8.946316791698337]