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.00126/0.00126, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001428/0.001428, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2255/0.2255, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.001981/0.001981, allocations: 71.88 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003267/0.3339, allocations: 1.855 MB / 0.5625 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.3382, allocations: 2.984 MB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.3383, allocations: 3.938 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3385, allocations: 47.73 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3388, allocations: 83.58 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3404, allocations: 0.7433 MB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.3407, allocations: 238.8 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.3408, allocations: 14.42 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.341, allocations: 115.4 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3412, allocations: 131.4 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3412, allocations: 12 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.343, allocations: 1.236 MB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3431, allocations: 71.67 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3432, allocations: 107.2 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.3445, allocations: 0.9343 MB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3445, allocations: 4 kB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3445, allocations: 0 / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3445, allocations: 4 kB / 0.5691 GB, free: 11.88 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.0009936/0.3455, allocations: 0.6095 MB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3455, allocations: 12.03 kB / 0.5697 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.3456, allocations: 70.7 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3457, allocations: 32.75 kB / 0.5698 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.346, allocations: 189.2 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.346, allocations: 24.64 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.346, allocations: 24 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.3467, allocations: 471.9 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3468, allocations: 0 / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3468, allocations: 11.98 kB / 0.5704 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/0.3468, allocations: 44.97 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.3477, allocations: 0.5465 MB / 0.571 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.3496, allocations: 1.283 MB / 0.5723 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.3501, allocations: 254.5 kB / 0.5725 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3503, allocations: 92.78 kB / 0.5726 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3503, allocations: 7.938 kB / 0.5726 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3504, allocations: 34.56 kB / 0.5726 GB, free: 7.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.3504, allocations: 0 / 0.5726 GB, free: 7.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007253/0.3511, allocations: 341.3 kB / 0.573 GB, free: 7.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3511, allocations: 55.34 kB / 0.573 GB, free: 7.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3512, allocations: 145 kB / 0.5732 GB, free: 7.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3513, allocations: 29.7 kB / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3514, allocations: 204.5 kB / 0.5734 GB, free: 7.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.3515, allocations: 91.22 kB / 0.5735 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.3516, allocations: 69.69 kB / 0.5735 GB, free: 7.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3517, allocations: 326.8 kB / 0.5739 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3519, allocations: 83.92 kB / 0.5739 GB, free: 6.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.3522, allocations: 175.1 kB / 0.5741 GB, free: 6.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.3526, allocations: 290.8 kB / 0.5744 GB, free: 6.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.3526, allocations: 4 kB / 0.5744 GB, free: 6.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005762/0.3532, allocations: 325.1 kB / 0.5747 GB, free: 5.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3532, allocations: 8 kB / 0.5747 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3532, allocations: 3.938 kB / 0.5747 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3533, allocations: 8 kB / 0.5747 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.3537, allocations: 116.2 kB / 0.5748 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.3551, allocations: 2.372 MB / 0.5771 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3552, allocations: 35.78 kB / 0.5772 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.3553, allocations: 19.98 kB / 0.5772 GB, free: 3.105 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.0002086/0.3555, allocations: 177.7 kB / 0.5774 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.3555, allocations: 11.91 kB / 0.5774 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.3563, allocations: 362.3 kB / 0.5777 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3563, allocations: 8 kB / 0.5777 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3563, allocations: 0 / 0.5777 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3563, allocations: 3.938 kB / 0.5777 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.3567, allocations: 320.5 kB / 0.578 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3567, allocations: 0 / 0.578 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3571, allocations: 103.9 kB / 0.5781 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3571, allocations: 0 / 0.5781 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3571, allocations: 11.98 kB / 0.5781 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.3584, allocations: 2.364 MB / 0.5805 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3585, allocations: 0 / 0.5805 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.359, allocations: 375.2 kB / 0.5808 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.359, allocations: 19.78 kB / 0.5808 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.359, allocations: 4 kB / 0.5808 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3592, allocations: 20.08 kB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3593, allocations: 23.95 kB / 0.5809 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3593, allocations: 12 kB / 0.5809 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.3594, allocations: 99.25 kB / 0.581 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3594, allocations: 0 / 0.581 GB, free: 15.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000671/0.36, allocations: 254.7 kB / 0.5812 GB, free: 14.8 MB / 430.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.001361/0.3614, allocations: 1.157 MB / 0.5824 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.3621, allocations: 291.9 kB / 0.5826 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3621, allocations: 0 / 0.5826 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3625, allocations: 159.8 kB / 0.5828 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3628, allocations: 19.98 kB / 0.5828 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3661, allocations: 2.601 MB / 0.5853 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.3665, allocations: 0.8023 MB / 0.5861 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.3668, allocations: 101.7 kB / 0.5862 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3669, allocations: 91.39 kB / 0.5863 GB, free: 9.395 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3669, allocations: 0 / 0.5863 GB, free: 9.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.4041, allocations: 9.148 MB / 0.5952 GB, free: 412 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13, allocations: 6.094 kB / 0.5952 GB, free: 408 kB / 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.158942335052416]