Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 214.7 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.93 MB / 360.8 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] 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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 71.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3399, allocations: 66.09 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003578/0.3435, allocations: 1.854 MB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.3464, allocations: 1.731 MB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.3465, allocations: 0 / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.3467, allocations: 51.73 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.347, allocations: 83.58 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.3479, allocations: 410.6 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.3483, allocations: 242.7 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.3483, allocations: 18.42 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3486, allocations: 103.5 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.3488, allocations: 131.4 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3488, allocations: 8 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.35, allocations: 0.7134 MB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3501, allocations: 75.67 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3502, allocations: 107.2 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009808/0.3512, allocations: 0.6421 MB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3512, allocations: 0 / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3512, allocations: 0 / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3512, allocations: 0 / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009801/0.3522, allocations: 0.5554 MB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3522, allocations: 8.031 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.3523, allocations: 82.69 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.3524, allocations: 32.7 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3527, allocations: 193.2 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3527, allocations: 20.66 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.3528, allocations: 31.98 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.3535, allocations: 463.9 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3535, allocations: 4 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3535, allocations: 4 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.3536, allocations: 48.97 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.3545, allocations: 0.5426 MB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3566, allocations: 1.279 MB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.3571, allocations: 254.6 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3573, allocations: 96.72 kB / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.3574, allocations: 16.31 kB / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3574, allocations: 38.56 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.684e-06/0.3574, allocations: 4 kB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007645/0.3582, allocations: 333.2 kB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3582, allocations: 59.41 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3584, allocations: 142.1 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3584, allocations: 25.7 kB / 0.5709 GB, free: 9.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3586, allocations: 200.2 kB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/0.3587, allocations: 99.14 kB / 0.5711 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3588, allocations: 69.69 kB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3589, allocations: 322.8 kB / 0.5715 GB, free: 9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3591, allocations: 87.92 kB / 0.5716 GB, free: 8.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.3594, allocations: 179 kB / 0.5718 GB, free: 8.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.3599, allocations: 286 kB / 0.572 GB, free: 8.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3599, allocations: 4 kB / 0.572 GB, free: 8.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006029/0.3605, allocations: 329.9 kB / 0.5724 GB, free: 8.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3606, allocations: 4 kB / 0.5724 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3606, allocations: 4 kB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3606, allocations: 8.344 kB / 0.5724 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.3611, allocations: 119.9 kB / 0.5725 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.3626, allocations: 2.368 MB / 0.5748 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3628, allocations: 39.7 kB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.3628, allocations: 23.92 kB / 0.5749 GB, free: 5.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.3631, allocations: 177.8 kB / 0.575 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.3632, allocations: 15.91 kB / 0.5751 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.364, allocations: 358.3 kB / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.364, allocations: 0 / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.364, allocations: 4 kB / 0.5754 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.364, allocations: 7.875 kB / 0.5754 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.3645, allocations: 312.5 kB / 0.5757 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3645, allocations: 0 / 0.5757 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.3649, allocations: 103.9 kB / 0.5758 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3649, allocations: 4 kB / 0.5758 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.3649, allocations: 15.98 kB / 0.5758 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3665, allocations: 2.356 MB / 0.5781 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3665, allocations: 0 / 0.5781 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.3671, allocations: 371.2 kB / 0.5785 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3672, allocations: 24.02 kB / 0.5785 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3672, allocations: 8 kB / 0.5785 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3673, allocations: 8 kB / 0.5785 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.3674, allocations: 23.95 kB / 0.5785 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3674, allocations: 15.94 kB / 0.5786 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.3675, allocations: 101.2 kB / 0.5786 GB, free: 1.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 4 kB / 0.5787 GB, free: 1.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005816/0.3681, allocations: 175.2 kB / 0.5788 GB, free: 1.184 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.3694, allocations: 1.032 MB / 0.5798 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007859/0.3702, allocations: 287.7 kB / 0.5801 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3702, allocations: 0.6875 kB / 0.5801 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.3706, allocations: 171.8 kB / 0.5803 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.371, allocations: 16 kB / 0.5803 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.3747, allocations: 2.564 MB / 0.5828 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.3752, allocations: 0.8102 MB / 0.5836 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.3755, allocations: 97.75 kB / 0.5837 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3757, allocations: 83.41 kB / 0.5837 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3757, allocations: 0 / 0.5837 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.4136, allocations: 7.334 MB / 0.5909 GB, free: 4.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.34, allocations: 3.094 kB / 0.5909 GB, free: 4.727 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.614182295044884]