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.001769/0.001769, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001929/0.001929, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2309/0.2309, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.003343/0.003343, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3295, allocations: 65.47 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003126/0.3326, allocations: 1.862 MB / 0.5589 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.3369, allocations: 2.988 MB / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.337, allocations: 0 / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3373, allocations: 51.73 kB / 0.5618 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3375, allocations: 83.52 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3391, allocations: 0.7433 MB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.3394, allocations: 242.8 kB / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.3394, allocations: 10.42 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.3396, allocations: 111.4 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3398, allocations: 131.4 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3399, allocations: 8 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.3417, allocations: 1.24 MB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.3418, allocations: 67.69 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3419, allocations: 111.2 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3433, allocations: 0.9382 MB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3433, allocations: 4 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3433, allocations: 0 / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3433, allocations: 0 / 0.5654 GB, free: 15.15 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.001016/0.3443, allocations: 0.6078 MB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3443, allocations: 12.03 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.3444, allocations: 70.72 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.3445, allocations: 36.73 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3448, allocations: 193.2 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3448, allocations: 16.66 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.3448, allocations: 24 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.3455, allocations: 467.9 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3456, allocations: 0 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3456, allocations: 19.98 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.3457, allocations: 44.95 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.3465, allocations: 0.5504 MB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.3484, allocations: 1.276 MB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.349, allocations: 262.4 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3492, allocations: 92.8 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.3492, allocations: 12.31 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3492, allocations: 30.56 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.3492, allocations: 0 / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007394/0.35, allocations: 333.3 kB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.35, allocations: 51.41 kB / 0.5694 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3502, allocations: 154.1 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3502, allocations: 29.7 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3503, allocations: 200.1 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.3504, allocations: 91.22 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.3505, allocations: 69.69 kB / 0.5699 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3507, allocations: 326.8 kB / 0.5702 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.3509, allocations: 83.92 kB / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3511, allocations: 179 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.3516, allocations: 294.8 kB / 0.5708 GB, free: 9.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3516, allocations: 4 kB / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006123/0.3522, allocations: 329.1 kB / 0.5711 GB, free: 9.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3522, allocations: 8 kB / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3523, allocations: 0 / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3523, allocations: 8 kB / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.3527, allocations: 115.9 kB / 0.5712 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.3543, allocations: 2.364 MB / 0.5735 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.3545, allocations: 40.12 kB / 0.5735 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3545, allocations: 15.98 kB / 0.5736 GB, free: 6.379 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.0001957/0.3547, allocations: 173.7 kB / 0.5737 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.3547, allocations: 11.91 kB / 0.5737 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.3555, allocations: 366.2 kB / 0.5741 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3555, allocations: 4 kB / 0.5741 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3555, allocations: 3.984 kB / 0.5741 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3555, allocations: 3.938 kB / 0.5741 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.356, allocations: 324.5 kB / 0.5744 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.356, allocations: 0 / 0.5744 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.3564, allocations: 103.9 kB / 0.5745 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3564, allocations: 0 / 0.5745 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3564, allocations: 12 kB / 0.5745 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.3578, allocations: 2.36 MB / 0.5768 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3578, allocations: 0 / 0.5768 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.3584, allocations: 383.5 kB / 0.5772 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.3584, allocations: 15.84 kB / 0.5772 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3585, allocations: 4 kB / 0.5772 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3586, allocations: 15.98 kB / 0.5772 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3587, allocations: 23.95 kB / 0.5772 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3587, allocations: 8 kB / 0.5773 GB, free: 2.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.11e-05/0.3588, allocations: 106.2 kB / 0.5774 GB, free: 2.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3588, allocations: 0 / 0.5774 GB, free: 2.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007397/0.3595, allocations: 258.7 kB / 0.5776 GB, free: 2.074 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.001481/0.361, allocations: 1.153 MB / 0.5787 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007461/0.3617, allocations: 292.3 kB / 0.579 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3617, allocations: 4 kB / 0.579 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.3622, allocations: 163.8 kB / 0.5792 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3625, allocations: 12 kB / 0.5792 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.3659, allocations: 2.595 MB / 0.5817 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3663, allocations: 0.8102 MB / 0.5825 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.3666, allocations: 97.73 kB / 0.5826 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3667, allocations: 95.39 kB / 0.5827 GB, free: 12.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3667, allocations: 0 / 0.5827 GB, free: 12.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.405, allocations: 9.141 MB / 0.5916 GB, free: 3.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.46, allocations: 3.859 kB / 0.5916 GB, free: 3.676 MB / 430.1 MB " [Timeout remaining time 646] (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.90742587391287]