Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001094/0.001094, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001163, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3524, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002888/0.3553, allocations: 1.818 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3566, allocations: 0.8253 MB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.3567, allocations: 6.344 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.3569, allocations: 40.98 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.3571, allocations: 78.92 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3573, allocations: 64.28 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3575, allocations: 130.5 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.3575, allocations: 14.48 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3577, allocations: 69.31 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3579, allocations: 76.55 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3579, allocations: 4.594 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.358, allocations: 77.56 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3581, allocations: 34.52 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.3582, allocations: 42.39 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3584, allocations: 134.3 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3584, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3584, allocations: 1.219 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3584, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.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.0005341/0.359, allocations: 411.9 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.359, allocations: 9.625 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.3591, allocations: 46.88 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3594, allocations: 30.69 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3595, allocations: 191.2 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3596, allocations: 12.48 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3596, allocations: 10.81 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.3599, allocations: 175.3 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3599, allocations: 7.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.36, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.36, allocations: 12.23 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3603, allocations: 131.4 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.3611, allocations: 0.6483 MB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3614, allocations: 104.6 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3615, allocations: 44.08 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3616, allocations: 5.016 kB / 0.5356 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3616, allocations: 35.69 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3616, allocations: 1.219 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.362, allocations: 142.7 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.362, allocations: 57.19 kB / 0.5359 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.3621, allocations: 133.9 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3622, allocations: 25.7 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.3622, allocations: 114.6 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3622, allocations: 31.14 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3623, allocations: 35.23 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.3624, allocations: 321 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3625, allocations: 33.94 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3627, allocations: 101.7 kB / 0.5366 GB, free: 8.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3629, allocations: 138 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.3629, allocations: 5.125 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003068/0.3633, allocations: 165.8 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3633, allocations: 5.688 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3633, allocations: 2.219 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3633, allocations: 6.344 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3635, allocations: 42.72 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3635, allocations: 3.125 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.3636, allocations: 19.92 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3636, allocations: 9.188 kB / 0.537 GB, free: 8.074 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 9.588e-05/0.3637, allocations: 134.3 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3638, allocations: 6.594 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3641, allocations: 120.2 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3641, allocations: 5.062 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3641, allocations: 1.188 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3641, allocations: 3.984 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.3643, allocations: 205.3 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3643, allocations: 0 / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3645, allocations: 28.72 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3645, allocations: 1.969 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3645, allocations: 0 / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3645, allocations: 5.812 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3645, allocations: 0 / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.3648, allocations: 201 kB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.3649, allocations: 86.38 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3649, allocations: 1.156 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.365, allocations: 7.594 kB / 0.5378 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.365, allocations: 15.89 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.365, allocations: 1.375 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.3651, allocations: 93.67 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3651, allocations: 0 / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3654, allocations: 30.44 kB / 0.5379 GB, free: 7.234 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.0005668/0.366, allocations: 0.7475 MB / 0.5386 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.3662, allocations: 98.72 kB / 0.5387 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3663, allocations: 4 kB / 0.5387 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3664, allocations: 50.02 kB / 0.5388 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3666, allocations: 5.234 kB / 0.5388 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3685, allocations: 1.669 MB / 0.5404 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3688, allocations: 0.7174 MB / 0.5411 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.167e-05/0.3689, allocations: 25.64 kB / 0.5411 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.369, allocations: 33.91 kB / 0.5412 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.369, allocations: 0 / 0.5412 GB, free: 4.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3881, allocations: 2.331 MB / 0.5434 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.688, allocations: 6.422 kB / 0.5435 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches