Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.00179/0.00179, allocations: 110 kB / 20.43 MB, free: 1.453 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.002176/0.002176, allocations: 213.7 kB / 23.74 MB, free: 4.66 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.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 8 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.2211/0.2211, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3214, allocations: 66.08 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003407/0.3248, allocations: 1.849 MB / 0.5626 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3261, allocations: 0.6397 MB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.3262, allocations: 3.938 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3265, allocations: 47.73 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3267, allocations: 79.56 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.3272, allocations: 127.5 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.3275, allocations: 226.8 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.3275, allocations: 12.59 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3276, allocations: 91.45 kB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3278, allocations: 115.4 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3278, allocations: 4 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.3283, allocations: 223.7 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3284, allocations: 51.77 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3285, allocations: 103.3 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.329, allocations: 336.5 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.329, allocations: 0 / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.329, allocations: 0 / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.329, allocations: 0 / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008589/0.3299, allocations: 469.5 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3299, allocations: 12.03 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.581e-05/0.33, allocations: 66.72 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.3319, allocations: 204.4 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3323, allocations: 222 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3324, allocations: 16.88 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.3324, allocations: 20.38 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3334, allocations: 0.5007 MB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3334, allocations: 0 / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.3335, allocations: 4 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.3335, allocations: 36.62 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3349, allocations: 0.584 MB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.3374, allocations: 1.139 MB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.338, allocations: 158.4 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.3384, allocations: 88.75 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3384, allocations: 4 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.3384, allocations: 30.56 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3385, allocations: 0 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001242/0.3397, allocations: 317.3 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3397, allocations: 51.41 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3401, allocations: 273.9 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3401, allocations: 25.7 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3402, allocations: 171.7 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.3403, allocations: 23.78 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.3404, allocations: 37.69 kB / 0.5689 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3405, allocations: 330.8 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3409, allocations: 95.89 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3412, allocations: 115.3 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3419, allocations: 211.1 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3419, allocations: 0 / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009344/0.3429, allocations: 273.2 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3429, allocations: 8 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3429, allocations: 0 / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3429, allocations: 4 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006223/0.3491, allocations: 471.2 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.3525, allocations: 1.942 MB / 0.5722 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.3529, allocations: 39.7 kB / 0.5722 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.3529, allocations: 12.3 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.3532, allocations: 155 kB / 0.5724 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3533, allocations: 23.86 kB / 0.5724 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.3534, allocations: 29.8 kB / 0.5724 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3534, allocations: 3.938 kB / 0.5724 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3534, allocations: 3.938 kB / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3534, allocations: 0 / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.354, allocations: 268.5 kB / 0.5727 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.354, allocations: 4 kB / 0.5727 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006077/0.3601, allocations: 459.3 kB / 0.5731 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3601, allocations: 0 / 0.5731 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.3601, allocations: 3.984 kB / 0.5731 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.3633, allocations: 1.941 MB / 0.575 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3633, allocations: 0 / 0.575 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.3641, allocations: 335.2 kB / 0.5754 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.3642, allocations: 19.84 kB / 0.5754 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.3642, allocations: 0 / 0.5754 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.3646, allocations: 19.97 kB / 0.5754 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.3647, allocations: 11.97 kB / 0.5754 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3647, allocations: 15.92 kB / 0.5754 GB, free: 4.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.365, allocations: 205.2 kB / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.365, allocations: 0 / 0.5756 GB, free: 4.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.3655, allocations: 67.89 kB / 0.5757 GB, free: 4.523 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.3669, allocations: 0.8567 MB / 0.5765 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006667/0.3736, allocations: 0.5889 MB / 0.5771 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3736, allocations: 0 / 0.5771 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005872/0.3794, allocations: 0.4915 MB / 0.5776 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3799, allocations: 44.64 kB / 0.5776 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.3852, allocations: 2.991 MB / 0.5805 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3857, allocations: 0.7752 MB / 0.5813 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3858, allocations: 53.86 kB / 0.5814 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.386, allocations: 67.41 kB / 0.5814 GB, free: 14.51 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.386, allocations: 0 / 0.5814 GB, free: 14.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.4255, allocations: 8.065 MB / 0.5893 GB, free: 6.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.11, allocations: 5.312 kB / 0.5893 GB, free: 6.605 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.20011110510677]