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.001409/0.001409, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001704/0.001704, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2331/0.2331, allocations: 46.97 MB / 361.7 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.91 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3576, allocations: 66.04 MB / 0.5614 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002616/0.3602, allocations: 1.444 MB / 0.5628 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3622, allocations: 1.286 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.3623, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3624, allocations: 31.59 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.3626, allocations: 51.67 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.3631, allocations: 227.1 kB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3633, allocations: 59.66 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3633, allocations: 0 / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.3634, allocations: 27.92 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.3634, allocations: 19.86 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3634, allocations: 4 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.364, allocations: 283.6 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.364, allocations: 15.97 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.3641, allocations: 27.88 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.3645, allocations: 261.2 kB / 0.565 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3645, allocations: 0 / 0.565 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3645, allocations: 3.938 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3645, allocations: 0 / 0.565 GB, free: 0.5234 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.0005675/0.3651, allocations: 345.5 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3651, allocations: 12.03 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.059e-05/0.3651, allocations: 192 / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.3652, allocations: 38.75 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3652, allocations: 4.891 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3653, allocations: 114.5 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3653, allocations: 8.375 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3654, allocations: 16.06 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3655, allocations: 61.67 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3655, allocations: 7.984 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3655, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3655, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3656, allocations: 63.95 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.3659, allocations: 156.6 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.366, allocations: 54.62 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.366, allocations: 56.7 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.3661, allocations: 16 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3661, allocations: 30.56 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3661, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02018/0.3863, allocations: 1.634 MB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.3864, allocations: 51.41 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3865, allocations: 136.9 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3866, allocations: 29.7 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.3866, allocations: 92.12 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.3867, allocations: 35.66 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3868, allocations: 49.67 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.387, allocations: 322.8 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/0.3876, allocations: 203.9 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.3882, allocations: 207.9 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3895, allocations: 392.6 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3895, allocations: 0 / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0014/0.3909, allocations: 462.8 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3909, allocations: 8 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3909, allocations: 0 / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3909, allocations: 4 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.3914, allocations: 63.92 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3914, allocations: 0 / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.3918, allocations: 43.91 kB / 0.5695 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3919, allocations: 7.984 kB / 0.5696 GB, free: 11.64 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.0001325/0.392, allocations: 121.9 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.392, allocations: 7.953 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.3934, allocations: 370 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3934, allocations: 4 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3935, allocations: 4 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3935, allocations: 3.984 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.3963, allocations: 0.7222 MB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.3963, allocations: 4 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3967, allocations: 68.02 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3967, allocations: 0 / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3968, allocations: 8 kB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3968, allocations: 7.938 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.3968, allocations: 3.984 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3981, allocations: 425.8 kB / 0.5712 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.3981, allocations: 35.91 kB / 0.5713 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3982, allocations: 0 / 0.5713 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.3986, allocations: 48 kB / 0.5713 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.3986, allocations: 11.92 kB / 0.5713 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3987, allocations: 7.984 kB / 0.5713 GB, free: 9.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.3987, allocations: 99.27 kB / 0.5714 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3987, allocations: 0 / 0.5714 GB, free: 9.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.3993, allocations: 175.6 kB / 0.5716 GB, free: 9.438 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.00224/0.4016, allocations: 1.101 MB / 0.5727 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.4029, allocations: 355.7 kB / 0.573 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4029, allocations: 0 / 0.573 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.4035, allocations: 148 kB / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4039, allocations: 15.98 kB / 0.5732 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.411, allocations: 2.777 MB / 0.5759 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.329e-05/0.4111, allocations: 83.83 kB / 0.576 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.4113, allocations: 44.84 kB / 0.576 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4114, allocations: 35.41 kB / 0.576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4114, allocations: 0 / 0.576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.4446, allocations: 10.44 MB / 0.5862 GB, free: 10.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.08, allocations: 8.047 kB / 0.5862 GB, free: 10.43 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: 15.266389079974033]