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.001381/0.001381, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.86 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003354/0.3259, allocations: 1.803 MB / 0.5324 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3274, allocations: 0.8272 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.3275, allocations: 9.812 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.3278, allocations: 38.05 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3281, allocations: 78.25 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3283, allocations: 65.05 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3285, allocations: 134.1 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.3285, allocations: 18.7 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3287, allocations: 68.19 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3289, allocations: 80.06 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3289, allocations: 9.438 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3291, allocations: 70.25 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.3292, allocations: 29.53 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.3292, allocations: 42.86 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3295, allocations: 147.3 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3295, allocations: 1.375 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3295, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.3295, allocations: 0 / 0.534 GB, free: 10.81 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.0006037/0.3301, allocations: 414.3 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3302, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.3303, allocations: 46.86 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.3306, allocations: 38.67 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3308, allocations: 187.2 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3308, allocations: 8.5 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3308, allocations: 10.81 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.3313, allocations: 183.3 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3313, allocations: 0 / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3313, allocations: 5.359 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.3313, allocations: 8.25 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.3317, allocations: 138.4 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.3326, allocations: 0.6448 MB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3329, allocations: 108.2 kB / 0.5357 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.333, allocations: 41.05 kB / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3331, allocations: 1.125 kB / 0.5358 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3331, allocations: 35.66 kB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3331, allocations: 0 / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004529/0.3336, allocations: 143.5 kB / 0.5359 GB, free: 9.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3336, allocations: 60.55 kB / 0.536 GB, free: 9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3337, allocations: 123 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3338, allocations: 26.86 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.3339, allocations: 125.8 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3339, allocations: 23.14 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.334, allocations: 31.39 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3341, allocations: 325.2 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3343, allocations: 37.73 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3344, allocations: 90.11 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.3347, allocations: 145.2 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.3347, allocations: 1.375 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003387/0.3351, allocations: 161.7 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3351, allocations: 12.38 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3351, allocations: 1.406 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3351, allocations: 7 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3353, allocations: 42.16 kB / 0.5371 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3353, allocations: 2.781 kB / 0.5371 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3354, allocations: 19.44 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3355, allocations: 10.39 kB / 0.5371 GB, free: 8 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.0001176/0.3356, allocations: 138.7 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3356, allocations: 6.797 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.3359, allocations: 128.2 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.336, allocations: 1.062 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.336, allocations: 4 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.336, allocations: 1.406 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3362, allocations: 197 kB / 0.5376 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3362, allocations: 0 / 0.5376 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3364, allocations: 40.95 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3364, allocations: 1.469 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3364, allocations: 0 / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3364, allocations: 1.469 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3364, allocations: 0 / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3367, allocations: 216.9 kB / 0.5378 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3368, allocations: 83.09 kB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3368, allocations: 1.062 kB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.3369, allocations: 8.094 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.337, allocations: 6.578 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.337, allocations: 2.188 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.979e-05/0.3371, allocations: 92.61 kB / 0.538 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3371, allocations: 1.094 kB / 0.538 GB, free: 7.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3373, allocations: 30.67 kB / 0.538 GB, free: 7.148 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.0006977/0.3381, allocations: 0.7461 MB / 0.5388 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.3384, allocations: 106.8 kB / 0.5389 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3384, allocations: 0 / 0.5389 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3385, allocations: 37.94 kB / 0.5389 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3388, allocations: 6.344 kB / 0.5389 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3408, allocations: 1.678 MB / 0.5405 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3412, allocations: 0.7085 MB / 0.5412 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.3413, allocations: 30.48 kB / 0.5413 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.3414, allocations: 27.84 kB / 0.5413 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3414, allocations: 1.344 kB / 0.5413 GB, free: 4.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.364, allocations: 2.297 MB / 0.5435 GB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.269, allocations: 18.92 kB / 0.5436 GB, free: 2.938 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