Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 112 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.6 MB / 230.4 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.336/0.336, allocations: 44.22 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003302/0.003302, allocations: 75.89 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3468, allocations: 60.98 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002684/0.3495, allocations: 1.816 MB / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3507, allocations: 0.8467 MB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.3508, allocations: 1.188 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.351, allocations: 42.34 kB / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.3512, allocations: 79.27 kB / 0.5136 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3514, allocations: 72.5 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3515, allocations: 130.1 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3516, allocations: 8.109 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3517, allocations: 75.12 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3518, allocations: 81.47 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3519, allocations: 4.156 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.352, allocations: 78.42 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.3521, allocations: 30.34 kB / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3521, allocations: 38.2 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3524, allocations: 140.1 kB / 0.5143 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3524, allocations: 0 / 0.5143 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3524, allocations: 0 / 0.5143 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3524, allocations: 0 / 0.5143 GB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004556/0.3528, allocations: 413.4 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3529, allocations: 8.5 kB / 0.5147 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.3529, allocations: 51.97 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.3532, allocations: 33.28 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3534, allocations: 182.6 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3534, allocations: 13.48 kB / 0.5149 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.3534, allocations: 15.09 kB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.3537, allocations: 178.9 kB / 0.5151 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3537, allocations: 11.88 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3537, allocations: 5.375 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.3538, allocations: 8.25 kB / 0.5152 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.3541, allocations: 139.2 kB / 0.5153 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.3547, allocations: 0.6524 MB / 0.5159 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.355, allocations: 103 kB / 0.516 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3551, allocations: 38.7 kB / 0.5161 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3551, allocations: 1.375 kB / 0.5161 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3552, allocations: 42.48 kB / 0.5161 GB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3552, allocations: 1.375 kB / 0.5161 GB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003771/0.3555, allocations: 131.4 kB / 0.5162 GB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3556, allocations: 56.78 kB / 0.5163 GB, free: 8.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.3556, allocations: 122.5 kB / 0.5164 GB, free: 8.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3556, allocations: 25.7 kB / 0.5164 GB, free: 8.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3557, allocations: 129.5 kB / 0.5165 GB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.3557, allocations: 20.14 kB / 0.5166 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.3558, allocations: 32.7 kB / 0.5166 GB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.3558, allocations: 316.2 kB / 0.5169 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3559, allocations: 45.89 kB / 0.5169 GB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.356, allocations: 101.7 kB / 0.517 GB, free: 8.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3562, allocations: 146.1 kB / 0.5172 GB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3562, allocations: 0 / 0.5172 GB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002905/0.3565, allocations: 162.9 kB / 0.5173 GB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3565, allocations: 5.375 kB / 0.5173 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3566, allocations: 2.656 kB / 0.5173 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3566, allocations: 2.625 kB / 0.5173 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3567, allocations: 41.69 kB / 0.5174 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3567, allocations: 6.938 kB / 0.5174 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.3568, allocations: 20.41 kB / 0.5174 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3568, allocations: 5.625 kB / 0.5174 GB, free: 7.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 6.846e-05/0.3569, allocations: 131 kB / 0.5175 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.3569, allocations: 6.734 kB / 0.5175 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.3572, allocations: 136.5 kB / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3572, allocations: 1.844 kB / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3572, allocations: 0 / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3572, allocations: 0 / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3574, allocations: 201.5 kB / 0.5179 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3574, allocations: 0 / 0.5179 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.3575, allocations: 28.59 kB / 0.5179 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3575, allocations: 1.375 kB / 0.5179 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3575, allocations: 4 kB / 0.5179 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3575, allocations: 5 kB / 0.5179 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3575, allocations: 0 / 0.5179 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3578, allocations: 220.3 kB / 0.5181 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.3578, allocations: 81.11 kB / 0.5182 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3578, allocations: 0 / 0.5182 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.3579, allocations: 11.98 kB / 0.5182 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3579, allocations: 4 kB / 0.5182 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3579, allocations: 4 kB / 0.5182 GB, free: 7.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.358, allocations: 97.52 kB / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 0.5183 GB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3582, allocations: 27.89 kB / 0.5183 GB, free: 6.988 MB / 382.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 (8): * Single equations (assignments): 8 * 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.0003727/0.3586, allocations: 0.7557 MB / 0.5191 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3588, allocations: 96.42 kB / 0.5192 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3588, allocations: 4 kB / 0.5192 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.3589, allocations: 43.91 kB / 0.5192 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3591, allocations: 8 kB / 0.5192 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3605, allocations: 1.672 MB / 0.5208 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3606, allocations: 0.7119 MB / 0.5215 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.432e-05/0.3606, allocations: 28.45 kB / 0.5216 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.3607, allocations: 27.44 kB / 0.5216 GB, free: 3.465 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3607, allocations: 3.938 kB / 0.5216 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.3823, allocations: 2.307 MB / 0.5239 GB, free: 1.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.294, allocations: 7.859 kB / 0.5239 GB, free: 1.145 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: 11.235630609095097]