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.001694/0.001694, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002161/0.002161, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2372/0.2372, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",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.00203/0.00203, allocations: 63.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 65.48 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003218/0.3904, allocations: 1.478 MB / 0.5592 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3928, allocations: 1.465 MB / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.3929, allocations: 0 / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3931, allocations: 31.58 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3934, allocations: 51.69 kB / 0.5607 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.3939, allocations: 223.1 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3941, allocations: 51.73 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.3941, allocations: 7.984 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.3942, allocations: 31.8 kB / 0.561 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.3942, allocations: 27.86 kB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.3943, allocations: 0 / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006348/0.3949, allocations: 339.6 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3949, allocations: 11.98 kB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3949, allocations: 23.81 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.3954, allocations: 285.3 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3954, allocations: 0 / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3954, allocations: 0 / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3954, allocations: 0 / 0.5617 GB, free: 3.777 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.0005992/0.396, allocations: 349.5 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.3961, allocations: 8.031 kB / 0.562 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.3961, allocations: 4.188 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.3961, allocations: 34.75 kB / 0.5621 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.3961, allocations: 12.89 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3963, allocations: 114.4 kB / 0.5622 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3963, allocations: 8.297 kB / 0.5622 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3963, allocations: 12.12 kB / 0.5622 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3965, allocations: 69.67 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3965, allocations: 3.984 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3965, allocations: 0 / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3965, allocations: 0 / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3966, allocations: 63.95 kB / 0.5624 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.3968, allocations: 164.6 kB / 0.5625 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.3969, allocations: 54.5 kB / 0.5626 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.397, allocations: 40.78 kB / 0.5626 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/0.3971, allocations: 23.98 kB / 0.5626 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3971, allocations: 34.56 kB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3971, allocations: 0 / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02028/0.4174, allocations: 1.634 MB / 0.5643 GB, free: 1.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4174, allocations: 51.41 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4176, allocations: 134.1 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.4176, allocations: 29.7 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.4177, allocations: 88.14 kB / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.4178, allocations: 43.62 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.4179, allocations: 49.69 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4181, allocations: 322.8 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.4187, allocations: 211.8 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.4194, allocations: 204 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4206, allocations: 392.6 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4207, allocations: 0 / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001469/0.4221, allocations: 457.4 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4221, allocations: 8 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4222, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4222, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.4227, allocations: 71.86 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4227, allocations: 0 / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.4232, allocations: 39.97 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4232, allocations: 11.98 kB / 0.5663 GB, free: 14.88 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.000148/0.4234, allocations: 117.8 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4234, allocations: 3.953 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.4249, allocations: 382 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4249, allocations: 4 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4249, allocations: 0 / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4249, allocations: 0 / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.4279, allocations: 0.7612 MB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4279, allocations: 0 / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.4284, allocations: 63.94 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4284, allocations: 4 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.4284, allocations: 12.08 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4284, allocations: 3.938 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4284, allocations: 4 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4298, allocations: 417.8 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.4299, allocations: 35.91 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.4299, allocations: 8 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.4304, allocations: 43.89 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.4304, allocations: 7.984 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.4305, allocations: 8 kB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.4306, allocations: 101.9 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4306, allocations: 3.938 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007375/0.4313, allocations: 175.6 kB / 0.5684 GB, free: 12.64 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.002447/0.4337, allocations: 1.101 MB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.4351, allocations: 351.7 kB / 0.5698 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4351, allocations: 4 kB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.4357, allocations: 144 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4362, allocations: 16 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.4437, allocations: 2.775 MB / 0.5726 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4441, allocations: 0.6963 MB / 0.5733 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.4443, allocations: 44.72 kB / 0.5734 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.4445, allocations: 39.41 kB / 0.5734 GB, free: 7.328 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4445, allocations: 0 / 0.5734 GB, free: 7.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.4805, allocations: 10.13 MB / 0.5833 GB, free: 13.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.76, allocations: 11.86 kB / 0.5833 GB, free: 13.32 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: 15.00758842099458]