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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008319, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 185.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.4 MB / 223.1 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2987/0.2987, allocations: 43.57 MB / 315 MB, free: 8.68 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 16 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09859, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001267/0.09988, allocations: 1.19 MB / 444.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1016, allocations: 1.461 MB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.1016, allocations: 0 / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1017, allocations: 28.11 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1019, allocations: 43.7 kB / 446.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1023, allocations: 171.5 kB / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.1024, allocations: 51.73 kB / 446.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1024, allocations: 11.97 kB / 446.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.1024, allocations: 19.88 kB / 446.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.1025, allocations: 23.86 kB / 446.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1025, allocations: 7.984 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.103, allocations: 327.6 kB / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.103, allocations: 15.92 kB / 446.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.1031, allocations: 49.58 kB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1034, allocations: 275.3 kB / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1035, allocations: 4 kB / 447.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1035, allocations: 4 kB / 447.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1035, allocations: 3.938 kB / 447.2 MB, free: 8.902 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.0004177/0.1039, allocations: 399.2 kB / 447.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1039, allocations: 12.03 kB / 447.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.104, allocations: 34.75 kB / 447.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.104, allocations: 8.844 kB / 447.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1041, allocations: 172.3 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1041, allocations: 4.375 kB / 447.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1042, allocations: 8.375 kB / 447.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1043, allocations: 65.61 kB / 447.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1043, allocations: 7.984 kB / 447.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1043, allocations: 0 / 447.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1043, allocations: 3.938 kB / 447.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.1044, allocations: 51.97 kB / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1046, allocations: 189.6 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.1047, allocations: 54.56 kB / 448.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.1048, allocations: 44.84 kB / 448.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.1048, allocations: 23.92 kB / 448.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1048, allocations: 34.5 kB / 448.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.1048, allocations: 0 / 448.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02181/0.1266, allocations: 1.701 MB / 450 MB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1267, allocations: 51.41 kB / 450 MB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1268, allocations: 133.8 kB / 450.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1269, allocations: 25.7 kB / 450.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1269, allocations: 88.14 kB / 450.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.127, allocations: 47.28 kB / 450.3 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.127, allocations: 25.7 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1271, allocations: 330.8 kB / 450.7 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.1279, allocations: 207.8 kB / 450.9 MB, free: 4.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.1286, allocations: 215.9 kB / 451.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.13, allocations: 392.7 kB / 451.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.13, allocations: 0 / 451.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001574/0.1316, allocations: 489.2 kB / 452 MB, free: 3.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1316, allocations: 4 kB / 452 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1316, allocations: 0 / 452 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1317, allocations: 0 / 452 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.1323, allocations: 79.89 kB / 452 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1323, allocations: 3.984 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.1328, allocations: 43.97 kB / 452.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1328, allocations: 11.97 kB / 452.1 MB, free: 3.754 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 0.0001139/0.133, allocations: 129.8 kB / 452.2 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.133, allocations: 11.91 kB / 452.2 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.1346, allocations: 398 kB / 452.6 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1347, allocations: 4 kB / 452.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1347, allocations: 4 kB / 452.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1347, allocations: 0 / 452.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.138, allocations: 0.8168 MB / 453.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.138, allocations: 0 / 453.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.1386, allocations: 83.92 kB / 453.5 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1386, allocations: 0 / 453.5 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.1386, allocations: 15.97 kB / 453.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1386, allocations: 3.938 kB / 453.6 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1386, allocations: 0 / 453.6 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1401, allocations: 469.6 kB / 454 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.1402, allocations: 109 kB / 454.1 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1403, allocations: 0 / 454.1 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.1408, allocations: 51.89 kB / 454.2 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.1408, allocations: 7.984 kB / 454.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.1409, allocations: 15.97 kB / 454.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.498e-05/0.1409, allocations: 99.27 kB / 454.3 MB, free: 1.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1409, allocations: 0 / 454.3 MB, free: 1.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000564/0.1415, allocations: 167.9 kB / 454.5 MB, free: 1.277 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.002301/0.1438, allocations: 1.136 MB / 455.6 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1709/0.3147, allocations: 396.5 kB / 456 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3148, allocations: 1.812 kB / 456 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.3155, allocations: 159.5 kB / 456.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.3159, allocations: 22.41 kB / 456.2 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/0.3232, allocations: 2.868 MB / 459 MB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3234, allocations: 0.6962 MB / 459.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.3236, allocations: 48.42 kB / 459.8 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3238, allocations: 56.05 kB / 459.8 MB, free: 44.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3238, allocations: 0 / 459.8 MB, free: 44.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3535, allocations: 9.657 MB / 469.5 MB, free: 43.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.3536, allocations: 235.7 kB / 469.7 MB, free: 43.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.201, allocations: 0 / 469.7 MB, free: 43.48 MB / 382.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches