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.001055/0.001055, allocations: 110 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.001081/0.001081, allocations: 187.1 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2009/0.2009, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002588/0.3438, allocations: 1.788 MB / 0.5202 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3449, allocations: 0.7967 MB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.345, allocations: 1.375 kB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3452, allocations: 39.7 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.3454, allocations: 73.44 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3456, allocations: 80.12 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3458, allocations: 132.5 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.3458, allocations: 6.219 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3459, allocations: 73.72 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3461, allocations: 72.72 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3461, allocations: 4.344 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3462, allocations: 76.06 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.3463, allocations: 34.34 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.3464, allocations: 38.3 kB / 0.5216 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3466, allocations: 143.8 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3466, allocations: 0 / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3466, allocations: 0 / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3466, allocations: 0 / 0.5217 GB, free: 1.191 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.0004562/0.3471, allocations: 404.3 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3471, allocations: 9.688 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3472, allocations: 41.28 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.3475, allocations: 43.67 kB / 0.5222 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3476, allocations: 183.7 kB / 0.5224 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3476, allocations: 9.156 kB / 0.5224 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3477, allocations: 14.55 kB / 0.5224 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.348, allocations: 178.6 kB / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.348, allocations: 0 / 0.5226 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.348, allocations: 13.25 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.3481, allocations: 10.91 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.3484, allocations: 131.8 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.3492, allocations: 0.6458 MB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.3495, allocations: 106.5 kB / 0.5234 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3496, allocations: 41.2 kB / 0.5235 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3496, allocations: 1.375 kB / 0.5235 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3497, allocations: 43.02 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3497, allocations: 0.9375 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004293/0.3501, allocations: 133.5 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3502, allocations: 51.41 kB / 0.5237 GB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.3503, allocations: 129.6 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3503, allocations: 30.95 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.3504, allocations: 117.6 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3504, allocations: 29.78 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.3504, allocations: 30.34 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3506, allocations: 319.1 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3507, allocations: 39.72 kB / 0.5244 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3508, allocations: 96.36 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3511, allocations: 150.7 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3511, allocations: 1.156 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003271/0.3515, allocations: 159.6 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3515, allocations: 6.75 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3515, allocations: 1.312 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3515, allocations: 6.734 kB / 0.5248 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3517, allocations: 37.5 kB / 0.5248 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3517, allocations: 12.34 kB / 0.5248 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3518, allocations: 22.47 kB / 0.5248 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3519, allocations: 4.656 kB / 0.5248 GB, free: 14.67 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.0001236/0.352, allocations: 131.1 kB / 0.525 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.352, allocations: 6.688 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.3524, allocations: 135.2 kB / 0.5251 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3524, allocations: 5.156 kB / 0.5251 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3524, allocations: 0.5625 kB / 0.5251 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3524, allocations: 2.078 kB / 0.5251 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3526, allocations: 198 kB / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3526, allocations: 0.5625 kB / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3528, allocations: 26.44 kB / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3528, allocations: 2.672 kB / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3528, allocations: 0 / 0.5253 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3528, allocations: 4 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3528, allocations: 2.438 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3532, allocations: 214.2 kB / 0.5255 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3532, allocations: 83.72 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3532, allocations: 1.781 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.3533, allocations: 5.375 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3534, allocations: 9.656 kB / 0.5256 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.3534, allocations: 3.125 kB / 0.5256 GB, free: 13.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.3535, allocations: 100.5 kB / 0.5257 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 1.406 kB / 0.5257 GB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3537, allocations: 22.06 kB / 0.5257 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.0006476/0.3544, allocations: 0.7521 MB / 0.5265 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3547, allocations: 97.52 kB / 0.5266 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3547, allocations: 4 kB / 0.5266 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3548, allocations: 46.44 kB / 0.5266 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3551, allocations: 13.5 kB / 0.5266 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3569, allocations: 1.664 MB / 0.5283 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.3572, allocations: 0.7113 MB / 0.529 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.3573, allocations: 25.62 kB / 0.529 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.3574, allocations: 32.56 kB / 0.529 GB, free: 11.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3574, allocations: 0 / 0.529 GB, free: 11.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.378, allocations: 2.334 MB / 0.5313 GB, free: 9.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.828, allocations: 10.06 kB / 0.5313 GB, free: 9.965 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