Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002141/0.002141, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2318/0.2318, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 67.84 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3937, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003306/0.397, allocations: 1.804 MB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.4014, allocations: 2.634 MB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.4015, allocations: 0 / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.4017, allocations: 43.75 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.4021, allocations: 95.55 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.4038, allocations: 0.7277 MB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.4041, allocations: 242.7 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.4042, allocations: 22.39 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.4044, allocations: 107.5 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.4046, allocations: 119.4 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.4047, allocations: 8 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4059, allocations: 0.6082 MB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.406, allocations: 71.67 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4061, allocations: 95.34 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.4073, allocations: 0.7706 MB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4073, allocations: 4 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4073, allocations: 0 / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4073, allocations: 0 / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001066/0.4084, allocations: 0.6134 MB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4084, allocations: 8.031 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.4085, allocations: 74.72 kB / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.4086, allocations: 28.75 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.4089, allocations: 189.2 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4089, allocations: 20.66 kB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.409, allocations: 27.98 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.4098, allocations: 463.9 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4098, allocations: 0 / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.4098, allocations: 15.94 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-05/0.4099, allocations: 48.97 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.4108, allocations: 0.5465 MB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.4128, allocations: 1.04 MB / 0.5708 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/0.4134, allocations: 270.2 kB / 0.571 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.4136, allocations: 92.78 kB / 0.5711 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.4137, allocations: 7.938 kB / 0.5711 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4137, allocations: 38.56 kB / 0.5712 GB, free: 9.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.4137, allocations: 0 / 0.5712 GB, free: 9.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008495/0.4146, allocations: 333.3 kB / 0.5715 GB, free: 8.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4146, allocations: 59.41 kB / 0.5715 GB, free: 8.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4148, allocations: 153 kB / 0.5717 GB, free: 8.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4148, allocations: 29.64 kB / 0.5717 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.415, allocations: 200.2 kB / 0.5719 GB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.4151, allocations: 87.22 kB / 0.572 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4152, allocations: 69.66 kB / 0.572 GB, free: 8.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4153, allocations: 322.8 kB / 0.5724 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.4155, allocations: 91.92 kB / 0.5724 GB, free: 7.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4158, allocations: 175 kB / 0.5726 GB, free: 7.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.4163, allocations: 298.8 kB / 0.5729 GB, free: 7.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4164, allocations: 4 kB / 0.5729 GB, free: 7.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000615/0.417, allocations: 325.3 kB / 0.5732 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.417, allocations: 8 kB / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.417, allocations: 0 / 0.5732 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.417, allocations: 11.92 kB / 0.5732 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.4176, allocations: 131.9 kB / 0.5734 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.4191, allocations: 2.364 MB / 0.5757 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.4193, allocations: 31.72 kB / 0.5757 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4193, allocations: 19.98 kB / 0.5757 GB, free: 4.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.4195, allocations: 173.7 kB / 0.5759 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.4195, allocations: 15.91 kB / 0.5759 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/0.4203, allocations: 370.4 kB / 0.5762 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4203, allocations: 0 / 0.5762 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4204, allocations: 0 / 0.5762 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4204, allocations: 11.94 kB / 0.5763 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.4208, allocations: 308.9 kB / 0.5766 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4208, allocations: 4 kB / 0.5766 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.4213, allocations: 119.9 kB / 0.5767 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4213, allocations: 0 / 0.5767 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4213, allocations: 11.98 kB / 0.5767 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4229, allocations: 2.364 MB / 0.579 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4229, allocations: 0 / 0.579 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.4234, allocations: 371.2 kB / 0.5793 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.4235, allocations: 19.78 kB / 0.5794 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.4235, allocations: 11.98 kB / 0.5794 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4236, allocations: 8.281 kB / 0.5794 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.4237, allocations: 27.95 kB / 0.5794 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.4237, allocations: 12 kB / 0.5794 GB, free: 372 kB / 414.1 MB Notification: Performance of sorting global known variables: time 6.876e-05/0.4238, allocations: 95.27 kB / 0.5795 GB, free: 276 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4238, allocations: 0 / 0.5795 GB, free: 276 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007054/0.4245, allocations: 254.7 kB / 0.5798 GB, free: 20 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.426, allocations: 1.161 MB / 0.5809 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007819/0.4268, allocations: 291.6 kB / 0.5812 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4268, allocations: 0 / 0.5812 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.4272, allocations: 164.5 kB / 0.5813 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4276, allocations: 20.62 kB / 0.5813 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.4314, allocations: 2.608 MB / 0.5839 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4316, allocations: 189.8 kB / 0.5841 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.4319, allocations: 93.73 kB / 0.5842 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.432, allocations: 95.39 kB / 0.5843 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.432, allocations: 0 / 0.5843 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.4751, allocations: 9.399 MB / 0.5934 GB, free: 1.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.91, allocations: 3.938 kB / 0.5934 GB, free: 1.992 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.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: 16.282363349106163]