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.001861/0.001861, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.002389/0.002389, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8 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.2292/0.2292, allocations: 46.93 MB / 361.6 MB, free: 4.277 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="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.002142/0.002142, allocations: 67.91 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00272/0.3396, allocations: 1.487 MB / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3418, allocations: 1.457 MB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.3418, allocations: 4 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.342, allocations: 27.64 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.3422, allocations: 55.67 kB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3427, allocations: 223.1 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3428, allocations: 55.67 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.3429, allocations: 7.984 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.3429, allocations: 23.88 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.343, allocations: 27.86 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.343, allocations: 0 / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.3436, allocations: 343.5 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3436, allocations: 3.984 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3437, allocations: 31.81 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3441, allocations: 277.2 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3441, allocations: 3.938 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3441, allocations: 0 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3441, allocations: 3.938 kB / 0.5653 GB, free: 460 kB / 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.0005218/0.3446, allocations: 349.5 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3447, allocations: 8.031 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.586e-05/0.3447, allocations: 192 / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.3447, allocations: 42.75 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3447, allocations: 4.891 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3449, allocations: 122.5 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3449, allocations: 384 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3449, allocations: 12.12 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.345, allocations: 57.69 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3451, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.3451, allocations: 0 / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3451, allocations: 3.938 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.3452, allocations: 63.95 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3454, allocations: 164.6 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.3455, allocations: 50.56 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.3455, allocations: 44.78 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.3456, allocations: 19.98 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3456, allocations: 30.56 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.3456, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02078/0.3664, allocations: 1.646 MB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.3664, allocations: 51.41 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3666, allocations: 140.6 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3666, allocations: 29.7 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3667, allocations: 88.14 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.3667, allocations: 39.64 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3668, allocations: 45.69 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.367, allocations: 326.8 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.3676, allocations: 203.9 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.3683, allocations: 203.9 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3697, allocations: 392.2 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3697, allocations: 0 / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001457/0.3711, allocations: 465.3 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3711, allocations: 4 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3711, allocations: 0 / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3712, allocations: 4 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.3717, allocations: 71.91 kB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3717, allocations: 0 / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.3722, allocations: 35.97 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3722, allocations: 7.984 kB / 0.5699 GB, free: 11.57 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.0001427/0.3723, allocations: 129.7 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3724, allocations: 7.953 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3739, allocations: 374 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3739, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3739, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3739, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.3769, allocations: 0.7612 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3769, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.3774, allocations: 67.97 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3774, allocations: 0 / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3774, allocations: 7.984 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3774, allocations: 7.938 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3774, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3788, allocations: 433.8 kB / 0.5716 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.3788, allocations: 35.91 kB / 0.5717 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3789, allocations: 0 / 0.5717 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.3793, allocations: 47.89 kB / 0.5717 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3794, allocations: 11.98 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3794, allocations: 4 kB / 0.5717 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.3795, allocations: 99.25 kB / 0.5718 GB, free: 9.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 0.5718 GB, free: 9.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006762/0.3801, allocations: 171.6 kB / 0.572 GB, free: 9.332 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.002428/0.3826, allocations: 1.101 MB / 0.573 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.3839, allocations: 355.7 kB / 0.5734 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3839, allocations: 4 kB / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.3845, allocations: 152.1 kB / 0.5735 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.3849, allocations: 16 kB / 0.5736 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.392, allocations: 2.77 MB / 0.5763 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3924, allocations: 0.6963 MB / 0.5769 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.3926, allocations: 40.73 kB / 0.577 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3928, allocations: 39.41 kB / 0.577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3928, allocations: 0 / 0.577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4258, allocations: 10.11 MB / 0.5869 GB, free: 10.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 22.5 kB / 0.5869 GB, free: 10.01 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.768280869990122]