Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001347/0.001347, 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.001372/0.001372, 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3632, allocations: 66.04 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002816/0.3661, allocations: 1.452 MB / 0.562 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3682, allocations: 1.286 MB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3682, allocations: 0 / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.3684, allocations: 39.56 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.3686, allocations: 47.7 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.3691, allocations: 223.1 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3692, allocations: 59.64 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3693, allocations: 0 / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.3693, allocations: 27.92 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.3694, allocations: 19.86 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3694, allocations: 7.938 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.37, allocations: 275.7 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.37, allocations: 4 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.37, allocations: 27.86 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.3704, allocations: 261.2 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3704, allocations: 3.938 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3704, allocations: 0 / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3704, allocations: 0 / 0.5642 GB, free: 0.5312 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.0005798/0.371, allocations: 341.5 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3711, allocations: 12.03 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.3711, allocations: 42.73 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3711, allocations: 8.891 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3713, allocations: 117 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3713, allocations: 384 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3713, allocations: 12.31 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3715, allocations: 73.55 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3715, allocations: 0 / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3715, allocations: 0 / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3715, allocations: 0 / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3716, allocations: 63.97 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.3719, allocations: 156.6 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.372, allocations: 54.56 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.372, allocations: 40.84 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.3721, allocations: 27.86 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3721, allocations: 34.56 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3721, allocations: 0 / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02045/0.3926, allocations: 1.63 MB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3926, allocations: 55.41 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3928, allocations: 142 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3928, allocations: 29.7 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.3929, allocations: 84.14 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3929, allocations: 39.64 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.393, allocations: 49.69 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3932, allocations: 322.8 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.3938, allocations: 207.8 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.3945, allocations: 211.9 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3959, allocations: 388.6 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3959, allocations: 4 kB / 0.5682 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001439/0.3973, allocations: 459.2 kB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3973, allocations: 8 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3973, allocations: 0 / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3974, allocations: 0 / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.3979, allocations: 59.94 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3979, allocations: 8 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.3983, allocations: 35.95 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3984, allocations: 4 kB / 0.5688 GB, free: 11.66 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.0001344/0.3985, allocations: 133.7 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.3985, allocations: 7.953 kB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.4, allocations: 366 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4, allocations: 0 / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4, allocations: 0 / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4, allocations: 0 / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.4029, allocations: 0.73 MB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4029, allocations: 0 / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.4034, allocations: 71.95 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.4034, allocations: 4 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.4035, allocations: 11.98 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4035, allocations: 3.938 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4035, allocations: 0 / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.4048, allocations: 425.8 kB / 0.5705 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4049, allocations: 31.91 kB / 0.5705 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.405, allocations: 4 kB / 0.5705 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.4054, allocations: 47.89 kB / 0.5705 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4055, allocations: 7.984 kB / 0.5705 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.4055, allocations: 8 kB / 0.5706 GB, free: 9.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.4056, allocations: 105.9 kB / 0.5707 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 0.5707 GB, free: 9.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006841/0.4063, allocations: 167.6 kB / 0.5708 GB, free: 9.457 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.002241/0.4085, allocations: 1.101 MB / 0.5719 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.4098, allocations: 359.7 kB / 0.5722 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4098, allocations: 0 / 0.5722 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.4105, allocations: 144 kB / 0.5724 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.4109, allocations: 16 kB / 0.5724 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.4183, allocations: 2.782 MB / 0.5751 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.348e-05/0.4184, allocations: 83.83 kB / 0.5752 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.4186, allocations: 40.72 kB / 0.5752 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.4187, allocations: 35.41 kB / 0.5753 GB, free: 4.758 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4187, allocations: 0 / 0.5753 GB, free: 4.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.4615, allocations: 10.89 MB / 0.5859 GB, free: 9.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 3.938 kB / 0.5859 GB, free: 9.992 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.680114740971476]