Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.001288/0.001288, 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.001443/0.001443, allocations: 215.3 kB / 23.74 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.417/1.417, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2237/0.2237, allocations: 46.92 MB / 360.8 MB, free: 4.168 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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 83.86 kB / 0.4962 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2961, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003601/0.2997, allocations: 1.935 MB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.302, allocations: 1.158 MB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3021, allocations: 0 / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.3024, allocations: 69.42 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.3027, allocations: 83.52 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.3032, allocations: 151.4 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3036, allocations: 262.4 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.3037, allocations: 12.94 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.304, allocations: 123.2 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.3042, allocations: 115.4 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.3042, allocations: 11.94 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.3048, allocations: 315.6 kB / 0.5649 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3049, allocations: 63.61 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3051, allocations: 111.2 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.3056, allocations: 434.2 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3057, allocations: 0 / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3057, allocations: 7.984 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3057, allocations: 0 / 0.5655 GB, free: 15.43 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007675/0.3064, allocations: 0.4978 MB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3065, allocations: 11.97 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.3065, allocations: 78.7 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.3066, allocations: 36.7 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3069, allocations: 174.2 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3069, allocations: 32.94 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3069, allocations: 28 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.3077, allocations: 493.4 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3077, allocations: 3.938 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.3077, allocations: 16 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.3078, allocations: 36.95 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.3085, allocations: 419.7 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.3101, allocations: 1.157 MB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3102, allocations: 78.52 kB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3104, allocations: 40.77 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3104, allocations: 7.984 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3104, allocations: 34.56 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3104, allocations: 0 / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004587/0.3109, allocations: 145.6 kB / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3109, allocations: 59.34 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3111, allocations: 158.4 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3111, allocations: 33.69 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3112, allocations: 228 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3113, allocations: 31.73 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.3114, allocations: 57.7 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3115, allocations: 318.8 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3116, allocations: 51.89 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3119, allocations: 177.5 kB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.3123, allocations: 244 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3123, allocations: 4 kB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004882/0.3128, allocations: 245.1 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3128, allocations: 11.98 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3128, allocations: 7.938 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3128, allocations: 4 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.3131, allocations: 87.91 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3142, allocations: 1.778 MB / 0.572 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3144, allocations: 40.05 kB / 0.5721 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3144, allocations: 20 kB / 0.5721 GB, free: 8.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002571/0.3147, allocations: 172.9 kB / 0.5722 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.3147, allocations: 19.89 kB / 0.5723 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.3152, allocations: 198.4 kB / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3152, allocations: 0 / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3152, allocations: 0 / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3152, allocations: 0 / 0.5725 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.3156, allocations: 268.6 kB / 0.5727 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3156, allocations: 0 / 0.5727 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3158, allocations: 55.98 kB / 0.5728 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3158, allocations: 11.92 kB / 0.5728 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3158, allocations: 7.938 kB / 0.5728 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3169, allocations: 1.774 MB / 0.5745 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3169, allocations: 3.984 kB / 0.5745 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3172, allocations: 219.7 kB / 0.5747 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.3172, allocations: 19.88 kB / 0.5748 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3173, allocations: 0 / 0.5748 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3174, allocations: 7.984 kB / 0.5748 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.3174, allocations: 11.98 kB / 0.5748 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3174, allocations: 4 kB / 0.5748 GB, free: 5.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.962e-05/0.3175, allocations: 115.9 kB / 0.5749 GB, free: 5.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3175, allocations: 0 / 0.5749 GB, free: 5.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.3179, allocations: 99.61 kB / 0.575 GB, free: 5.102 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.0008218/0.3188, allocations: 0.7941 MB / 0.5758 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.3193, allocations: 184.7 kB / 0.5759 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3193, allocations: 4.125 kB / 0.5759 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.3196, allocations: 87.94 kB / 0.576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.3199, allocations: 19.88 kB / 0.576 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.3226, allocations: 2.217 MB / 0.5782 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3231, allocations: 0.8021 MB / 0.579 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.3232, allocations: 53.25 kB / 0.579 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3233, allocations: 75.41 kB / 0.5791 GB, free: 0.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3233, allocations: 8 kB / 0.5791 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.3564, allocations: 5.449 MB / 0.5844 GB, free: 11.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.03, allocations: 7.922 kB / 0.5844 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.242373724933714]