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.0008278/0.0008278, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.000863/0.000863, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8388/0.8388, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1262/0.1262, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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="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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.04e-05, allocations: 2.281 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001779/0.001799, allocations: 1.452 MB / 408.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003099, allocations: 1.305 MB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.003142, allocations: 0 / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.003289, allocations: 35.77 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.003478, allocations: 47.64 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.003864, allocations: 223 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.003962, allocations: 59.64 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.004001, allocations: 11.94 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.004062, allocations: 31.91 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.004114, allocations: 19.98 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.004125, allocations: 0 / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.004528, allocations: 263.6 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.004549, allocations: 15.92 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.004579, allocations: 12 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.004912, allocations: 311 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.004918, allocations: 4 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004919, allocations: 0 / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.004924, allocations: 4 kB / 410.6 MB, free: 14.45 MB / 394.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.0004138/0.005338, allocations: 341.5 kB / 410.9 MB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.005381, allocations: 8.031 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.005412, allocations: 30.75 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.005441, allocations: 16.83 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.005525, allocations: 105.8 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005537, allocations: 8.359 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.005561, allocations: 384 / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.005676, allocations: 62.25 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005685, allocations: 192 / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.005694, allocations: 11.94 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005698, allocations: 7.938 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.005768, allocations: 63.94 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.005922, allocations: 156.6 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.005992, allocations: 58.55 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.006034, allocations: 44.78 kB / 411.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.006083, allocations: 16 kB / 411.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.0061, allocations: 30.56 kB / 411.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.006101, allocations: 0 / 411.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.008791/0.01489, allocations: 1.642 MB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.01493, allocations: 51.41 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.01502, allocations: 134.1 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01504, allocations: 29.7 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.01508, allocations: 92.12 kB / 413.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.01512, allocations: 43.58 kB / 413.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.01519, allocations: 45.67 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.01527, allocations: 318.8 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.0156, allocations: 211.9 kB / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.0159, allocations: 199.9 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.01653, allocations: 400.7 kB / 414.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01653, allocations: 0 / 414.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006858/0.01722, allocations: 457.3 kB / 415.1 MB, free: 9.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01723, allocations: 4 kB / 415.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01724, allocations: 4 kB / 415.1 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01726, allocations: 3.938 kB / 415.1 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.01752, allocations: 67.92 kB / 415.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01752, allocations: 0 / 415.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.01769, allocations: 39.97 kB / 415.3 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01771, allocations: 7.984 kB / 415.3 MB, free: 9.578 MB / 394.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 8.601e-05/0.01779, allocations: 113.8 kB / 415.4 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.01782, allocations: 15.83 kB / 415.4 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.01854, allocations: 362.2 kB / 415.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01854, allocations: 4 kB / 415.7 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01855, allocations: 0 / 415.7 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01855, allocations: 3.984 kB / 415.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.02006, allocations: 0.7183 MB / 416.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02006, allocations: 0 / 416.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.02026, allocations: 68.03 kB / 416.5 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.02027, allocations: 11.92 kB / 416.5 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.02028, allocations: 4 kB / 416.5 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.02029, allocations: 3.938 kB / 416.6 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.02029, allocations: 4 kB / 416.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.02092, allocations: 421.8 kB / 417 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.02098, allocations: 35.91 kB / 417 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.021, allocations: 0 / 417 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.02119, allocations: 35.97 kB / 417 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.02121, allocations: 19.86 kB / 417.1 MB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.02123, allocations: 15.98 kB / 417.1 MB, free: 7.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.02128, allocations: 98.92 kB / 417.2 MB, free: 7.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02128, allocations: 0 / 417.2 MB, free: 7.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.02175, allocations: 171.6 kB / 417.3 MB, free: 7.406 MB / 394.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.001319/0.02307, allocations: 1.116 MB / 418.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.02376, allocations: 355.7 kB / 418.8 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02376, allocations: 0 / 418.8 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.02403, allocations: 148 kB / 418.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.02433, allocations: 28.06 kB / 419 MB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.02789, allocations: 2.782 MB / 421.8 MB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.336e-05/0.02794, allocations: 91.81 kB / 421.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.02807, allocations: 40.8 kB / 421.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.02819, allocations: 36.47 kB / 421.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02819, allocations: 0 / 421.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.04901, allocations: 11.02 MB / 432.9 MB, free: 7.582 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.763, allocations: 0 / 432.9 MB, free: 7.582 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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: 8.624534642323852]