Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001786/0.001786, 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.002459/0.002459, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2589/0.2589, allocations: 44.92 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3241, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003433/0.3275, allocations: 1.804 MB / 0.5588 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.3319, allocations: 2.63 MB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.332, allocations: 3.938 kB / 0.5613 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.3322, allocations: 51.75 kB / 0.5614 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3325, allocations: 79.58 kB / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.3342, allocations: 0.7355 MB / 0.5622 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.3345, allocations: 230.8 kB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.3345, allocations: 18.41 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3347, allocations: 119.4 kB / 0.5625 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3349, allocations: 115.4 kB / 0.5626 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3349, allocations: 8 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.336, allocations: 0.6004 MB / 0.5632 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.3361, allocations: 75.56 kB / 0.5633 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3362, allocations: 99.33 kB / 0.5634 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3374, allocations: 0.7745 MB / 0.5642 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3374, allocations: 8 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3374, allocations: 0 / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3374, allocations: 0 / 0.5642 GB, free: 156 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009987/0.3384, allocations: 0.6096 MB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3384, allocations: 8.031 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.3385, allocations: 78.7 kB / 0.5648 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.3386, allocations: 28.75 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3389, allocations: 181.3 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.3389, allocations: 24.64 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3389, allocations: 31.92 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.3397, allocations: 471.9 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3397, allocations: 0 / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.3397, allocations: 12 kB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.3398, allocations: 52.95 kB / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/0.3407, allocations: 0.5426 MB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3426, allocations: 1.04 MB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.3432, allocations: 269 kB / 0.5674 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3434, allocations: 88.8 kB / 0.5675 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3435, allocations: 11.94 kB / 0.5675 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3435, allocations: 42.48 kB / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.3435, allocations: 0 / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007577/0.3443, allocations: 329.3 kB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3443, allocations: 55.41 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3444, allocations: 150.1 kB / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3445, allocations: 29.7 kB / 0.5681 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3446, allocations: 200.5 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.3447, allocations: 95.22 kB / 0.5684 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3448, allocations: 69.64 kB / 0.5684 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3449, allocations: 330.8 kB / 0.5688 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3451, allocations: 87.92 kB / 0.5688 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.3455, allocations: 167.1 kB / 0.569 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.346, allocations: 298.8 kB / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.346, allocations: 4 kB / 0.5693 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006221/0.3466, allocations: 325 kB / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3466, allocations: 8 kB / 0.5696 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3466, allocations: 0 / 0.5696 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3467, allocations: 8 kB / 0.5696 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.3472, allocations: 132.2 kB / 0.5697 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.3488, allocations: 2.363 MB / 0.572 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.349, allocations: 35.7 kB / 0.5721 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.349, allocations: 16 kB / 0.5721 GB, free: 7.645 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.0002274/0.3493, allocations: 174.1 kB / 0.5723 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3493, allocations: 19.91 kB / 0.5723 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.3502, allocations: 366.2 kB / 0.5726 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3502, allocations: 3.938 kB / 0.5726 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3502, allocations: 4 kB / 0.5726 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3502, allocations: 3.938 kB / 0.5726 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.3506, allocations: 304.5 kB / 0.5729 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3506, allocations: 0 / 0.5729 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.3511, allocations: 115.9 kB / 0.573 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3511, allocations: 11.94 kB / 0.5731 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3511, allocations: 11.98 kB / 0.5731 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.3526, allocations: 2.356 MB / 0.5754 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3526, allocations: 0 / 0.5754 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3532, allocations: 379.5 kB / 0.5757 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.3533, allocations: 19.84 kB / 0.5757 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3533, allocations: 8 kB / 0.5758 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3535, allocations: 11.98 kB / 0.5758 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3535, allocations: 19.97 kB / 0.5758 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3535, allocations: 12 kB / 0.5758 GB, free: 3.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.3536, allocations: 109.3 kB / 0.5759 GB, free: 3.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3536, allocations: 3.938 kB / 0.5759 GB, free: 3.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007518/0.3544, allocations: 246.8 kB / 0.5761 GB, free: 3.336 MB / 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.001795/0.3562, allocations: 1.161 MB / 0.5773 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008858/0.3571, allocations: 288.4 kB / 0.5775 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3571, allocations: 0 / 0.5775 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.3575, allocations: 167.8 kB / 0.5777 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.358, allocations: 21.59 kB / 0.5777 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.3623, allocations: 2.609 MB / 0.5803 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3625, allocations: 185.8 kB / 0.5805 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.3628, allocations: 97.73 kB / 0.5805 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3629, allocations: 95.39 kB / 0.5806 GB, free: 14.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3629, allocations: 0 / 0.5806 GB, free: 14.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.4029, allocations: 9.404 MB / 0.5898 GB, free: 5.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.29, allocations: 7.938 kB / 0.5898 GB, free: 5.285 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.677128633949906]