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.001107/0.001107, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002884/0.3638, allocations: 1.808 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3651, allocations: 0.8317 MB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3651, allocations: 1.75 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.3654, allocations: 44.83 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.3656, allocations: 75.97 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3658, allocations: 67.8 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.366, allocations: 130.2 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.3661, allocations: 10.64 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3663, allocations: 81.56 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3664, allocations: 72.31 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3665, allocations: 7.469 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3666, allocations: 78.91 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.3667, allocations: 30.19 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.3668, allocations: 46 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.367, allocations: 135.9 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.367, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.367, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.367, allocations: 0 / 0.5339 GB, free: 10.87 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.0006137/0.3676, allocations: 416.2 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3677, allocations: 9.531 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.3677, allocations: 43.19 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.3681, allocations: 34 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3683, allocations: 183.3 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3683, allocations: 8.5 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3684, allocations: 18.8 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.3688, allocations: 183.2 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3688, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3689, allocations: 5.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.3689, allocations: 6.875 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.3693, allocations: 134.6 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.3702, allocations: 0.6458 MB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.3706, allocations: 108.4 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3707, allocations: 35.45 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3708, allocations: 5.031 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3708, allocations: 39.69 kB / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3708, allocations: 0 / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004884/0.3713, allocations: 144.5 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3714, allocations: 52.56 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3715, allocations: 129.4 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3715, allocations: 30.92 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.3716, allocations: 117 kB / 0.5361 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3716, allocations: 23.59 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.3717, allocations: 36.3 kB / 0.5362 GB, free: 8.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3719, allocations: 320.8 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.372, allocations: 40.42 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3723, allocations: 90.86 kB / 0.5366 GB, free: 8.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3727, allocations: 154.4 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3727, allocations: 0 / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003854/0.3731, allocations: 154.3 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3731, allocations: 5.625 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3731, allocations: 6.531 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3731, allocations: 6.344 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3733, allocations: 42.22 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3733, allocations: 3.438 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.3734, allocations: 22.67 kB / 0.537 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3735, allocations: 6.109 kB / 0.537 GB, free: 8.062 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.604e-05/0.3736, allocations: 130.1 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3736, allocations: 12.03 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.3739, allocations: 128.3 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3739, allocations: 5.234 kB / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.374, allocations: 0 / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.374, allocations: 0 / 0.5373 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3742, allocations: 197.3 kB / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3742, allocations: 4 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.3743, allocations: 32.91 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3743, allocations: 1.125 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3744, allocations: 1.156 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3744, allocations: 0 / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3744, allocations: 1.531 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3747, allocations: 212.7 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3747, allocations: 95.14 kB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3748, allocations: 1.406 kB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.3749, allocations: 3.562 kB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3749, allocations: 6.922 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3749, allocations: 1.5 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.807e-05/0.375, allocations: 96.98 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.375, allocations: 0 / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3753, allocations: 27.56 kB / 0.5379 GB, free: 7.215 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.0007088/0.376, allocations: 0.7429 MB / 0.5386 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3763, allocations: 101.6 kB / 0.5387 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3763, allocations: 0 / 0.5387 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3765, allocations: 45.78 kB / 0.5388 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3767, allocations: 11.34 kB / 0.5388 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3789, allocations: 1.674 MB / 0.5404 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3792, allocations: 0.7125 MB / 0.5411 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.3793, allocations: 30.3 kB / 0.5411 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.3794, allocations: 28.84 kB / 0.5412 GB, free: 4.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3794, allocations: 0 / 0.5412 GB, free: 4.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.3971, allocations: 2.328 MB / 0.5434 GB, free: 2.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.065, allocations: 6.328 kB / 0.5434 GB, free: 2.992 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