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_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3617, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003536/0.3652, allocations: 1.784 MB / 0.5202 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3667, allocations: 0.7941 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.3668, allocations: 1.156 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.3671, allocations: 39.16 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3674, allocations: 73.61 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3676, allocations: 73.2 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.3679, allocations: 136 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.3679, allocations: 10.64 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3681, allocations: 67.89 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3683, allocations: 85.75 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3683, allocations: 3.781 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3685, allocations: 68.47 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.3686, allocations: 34.59 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.3687, allocations: 46.11 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.369, allocations: 138.8 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.369, allocations: 1.031 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.369, allocations: 0 / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.369, allocations: 0 / 0.5217 GB, free: 1.203 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.0005848/0.3696, allocations: 404 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3697, allocations: 14.31 kB / 0.5221 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.3697, allocations: 45.44 kB / 0.5222 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.3702, allocations: 34.67 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3704, allocations: 184 kB / 0.5224 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3704, allocations: 9.109 kB / 0.5224 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3704, allocations: 15.27 kB / 0.5224 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.3709, allocations: 181.5 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3709, allocations: 0 / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.3709, allocations: 6.797 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.371, allocations: 13.03 kB / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3714, allocations: 136.4 kB / 0.5227 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.3724, allocations: 0.6424 MB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.3728, allocations: 105.8 kB / 0.5234 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.373, allocations: 44.72 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.373, allocations: 5.312 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3731, allocations: 32.69 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3731, allocations: 0 / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005629/0.3736, allocations: 140.9 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3737, allocations: 52.34 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3738, allocations: 129 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3739, allocations: 31.61 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.374, allocations: 117.2 kB / 0.524 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.374, allocations: 26.3 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.3741, allocations: 30.2 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3742, allocations: 323.3 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3744, allocations: 38.09 kB / 0.5244 GB, free: 14.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3746, allocations: 100.3 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.375, allocations: 148.2 kB / 0.5246 GB, free: 14.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.375, allocations: 0 / 0.5246 GB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005211/0.3756, allocations: 167.8 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3756, allocations: 6.469 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3756, allocations: 5.375 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3756, allocations: 3 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3759, allocations: 41.14 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3759, allocations: 4.438 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.3761, allocations: 21.72 kB / 0.5248 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3761, allocations: 10.19 kB / 0.5248 GB, free: 14.68 MB / 398.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 0.0001349/0.3763, allocations: 130.2 kB / 0.525 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.3764, allocations: 7.438 kB / 0.525 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.3768, allocations: 122.8 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3769, allocations: 7.938 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3769, allocations: 1.25 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3769, allocations: 0.6562 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3772, allocations: 203.4 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3772, allocations: 0 / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3774, allocations: 28.03 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3775, allocations: 0.6094 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3775, allocations: 0 / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3775, allocations: 2.312 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3775, allocations: 4 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.378, allocations: 210.6 kB / 0.5255 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.378, allocations: 89.06 kB / 0.5256 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3781, allocations: 1.375 kB / 0.5256 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3782, allocations: 9.328 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.3783, allocations: 5.328 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3783, allocations: 10.75 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.3784, allocations: 93.08 kB / 0.5257 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3784, allocations: 0 / 0.5257 GB, free: 13.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3789, allocations: 27.19 kB / 0.5258 GB, free: 13.91 MB / 398.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.0007951/0.3797, allocations: 0.7517 MB / 0.5265 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.3802, allocations: 96.75 kB / 0.5266 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3802, allocations: 1.906 kB / 0.5266 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3804, allocations: 45.52 kB / 0.5266 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3808, allocations: 8.828 kB / 0.5266 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.3834, allocations: 1.668 MB / 0.5283 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3838, allocations: 0.7115 MB / 0.529 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3839, allocations: 32.09 kB / 0.529 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.384, allocations: 34.66 kB / 0.529 GB, free: 11.02 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.384, allocations: 0 / 0.529 GB, free: 11.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.4064, allocations: 2.322 MB / 0.5313 GB, free: 9.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.692, allocations: 12.97 kB / 0.5313 GB, free: 9.977 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches