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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 208 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003322/0.3506, allocations: 1.78 MB / 0.5587 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.352, allocations: 0.7684 MB / 0.5595 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.352, allocations: 4 kB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3523, allocations: 35.75 kB / 0.5595 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.3525, allocations: 83.58 kB / 0.5596 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3527, allocations: 71.72 kB / 0.5597 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3529, allocations: 135.4 kB / 0.5598 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.353, allocations: 9.812 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3532, allocations: 71.75 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3533, allocations: 91.69 kB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3534, allocations: 4 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3535, allocations: 47.92 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.3536, allocations: 23.91 kB / 0.56 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3536, allocations: 39.8 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3539, allocations: 147.3 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3539, allocations: 4 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3539, allocations: 0 / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3539, allocations: 0 / 0.5602 GB, free: 4.199 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.0005721/0.3545, allocations: 329.9 kB / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3545, allocations: 12.03 kB / 0.5605 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.3546, allocations: 38.75 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.3549, allocations: 40.81 kB / 0.5606 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3551, allocations: 130.4 kB / 0.5607 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3551, allocations: 16.36 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3551, allocations: 15.92 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3555, allocations: 172.1 kB / 0.5609 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3556, allocations: 0 / 0.5609 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3556, allocations: 4 kB / 0.5609 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.3556, allocations: 11.98 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.356, allocations: 131.8 kB / 0.5611 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.3569, allocations: 0.5505 MB / 0.5616 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3572, allocations: 118.5 kB / 0.5617 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3573, allocations: 36.83 kB / 0.5618 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3573, allocations: 4 kB / 0.5618 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3574, allocations: 34.56 kB / 0.5618 GB, free: 2.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3574, allocations: 0 / 0.5618 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004419/0.3578, allocations: 133.6 kB / 0.5619 GB, free: 2.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3578, allocations: 55.34 kB / 0.562 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.358, allocations: 134 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.358, allocations: 29.7 kB / 0.5621 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3581, allocations: 120 kB / 0.5623 GB, free: 1.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3581, allocations: 27.84 kB / 0.5623 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.3582, allocations: 33.67 kB / 0.5623 GB, free: 1.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3583, allocations: 318.8 kB / 0.5626 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3584, allocations: 43.91 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3586, allocations: 91.69 kB / 0.5627 GB, free: 1.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3589, allocations: 147.7 kB / 0.5629 GB, free: 1.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3589, allocations: 0 / 0.5629 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000366/0.3593, allocations: 157.5 kB / 0.563 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3593, allocations: 8 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3593, allocations: 0 / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3593, allocations: 4 kB / 0.5631 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3595, allocations: 39.91 kB / 0.5631 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3595, allocations: 4 kB / 0.5631 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.934e-05/0.3596, allocations: 19.89 kB / 0.5631 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3596, allocations: 7.984 kB / 0.5631 GB, free: 0.957 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.000112/0.3597, allocations: 133.9 kB / 0.5632 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.3597, allocations: 7.938 kB / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.3601, allocations: 122 kB / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3601, allocations: 0 / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3601, allocations: 0 / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3601, allocations: 4 kB / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3603, allocations: 172.6 kB / 0.5635 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3603, allocations: 0 / 0.5635 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3605, allocations: 31.92 kB / 0.5636 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3605, allocations: 3.984 kB / 0.5636 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3605, allocations: 3.938 kB / 0.5636 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3605, allocations: 0 / 0.5636 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3605, allocations: 4 kB / 0.5636 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.3608, allocations: 207.9 kB / 0.5638 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3608, allocations: 11.95 kB / 0.5638 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3609, allocations: 7.984 kB / 0.5638 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.361, allocations: 7.938 kB / 0.5638 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.361, allocations: 7.984 kB / 0.5638 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.361, allocations: 0 / 0.5638 GB, free: 168 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.97e-05/0.3611, allocations: 102.5 kB / 0.5639 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3611, allocations: 0 / 0.5639 GB, free: 68 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3613, allocations: 23.94 kB / 0.5639 GB, free: 44 kB / 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.0007277/0.3621, allocations: 0.7592 MB / 0.5647 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3624, allocations: 95.8 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3624, allocations: 0 / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3625, allocations: 40.47 kB / 0.5648 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3627, allocations: 12 kB / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3649, allocations: 1.676 MB / 0.5665 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.365, allocations: 101.2 kB / 0.5666 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.199e-05/0.3651, allocations: 28.45 kB / 0.5666 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3651, allocations: 27.44 kB / 0.5666 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3651, allocations: 0 / 0.5666 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.3952, allocations: 2.785 MB / 0.5693 GB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 12 kB / 0.5693 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.57877220120281]