Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.001537/0.001537, 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.001695/0.001695, allocations: 212.8 kB / 23.73 MB, free: 4.387 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 46.95 MB / 360.9 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_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.00196/0.00196, allocations: 67.89 kB / 0.4961 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 66.04 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003319/0.3325, allocations: 1.803 MB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3337, allocations: 0.5696 MB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.3338, allocations: 0 / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.3341, allocations: 55.67 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3343, allocations: 75.58 kB / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.3347, allocations: 119.5 kB / 0.5632 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.335, allocations: 234.7 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.335, allocations: 8.594 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3351, allocations: 91.56 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3353, allocations: 111.4 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3353, allocations: 8 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.3356, allocations: 159.8 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3357, allocations: 63.62 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.3358, allocations: 79.48 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.3362, allocations: 320.5 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3362, allocations: 0 / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3362, allocations: 4 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3363, allocations: 0 / 0.5642 GB, free: 0.4961 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006965/0.337, allocations: 469.5 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.337, allocations: 12.02 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.3371, allocations: 70.61 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.3388, allocations: 200.4 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3392, allocations: 214.2 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.3392, allocations: 24.86 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.3393, allocations: 20.38 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.3403, allocations: 0.5007 MB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3403, allocations: 0 / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3403, allocations: 12 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.3404, allocations: 24.64 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3417, allocations: 0.5802 MB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.3439, allocations: 0.9222 MB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.3446, allocations: 174.3 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.345, allocations: 76.92 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.345, allocations: 3.984 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.345, allocations: 46.53 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.345, allocations: 0 / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001288/0.3463, allocations: 293.2 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3464, allocations: 59.41 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.3467, allocations: 281.8 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.3467, allocations: 25.7 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3468, allocations: 175.7 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3469, allocations: 23.8 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.347, allocations: 37.64 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3471, allocations: 334.8 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3475, allocations: 95.91 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.3479, allocations: 119.1 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.3487, allocations: 223.1 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3487, allocations: 0 / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008925/0.3496, allocations: 257.3 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3496, allocations: 11.98 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3496, allocations: 0 / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3496, allocations: 0 / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/0.3552, allocations: 467.4 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.3582, allocations: 1.949 MB / 0.5716 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3586, allocations: 47.97 kB / 0.5717 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.3586, allocations: 7.984 kB / 0.5717 GB, free: 8.531 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.0001989/0.3588, allocations: 157.7 kB / 0.5719 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.3589, allocations: 19.86 kB / 0.5719 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.3589, allocations: 25.7 kB / 0.5719 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3589, allocations: 4 kB / 0.5719 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3589, allocations: 0 / 0.5719 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3589, allocations: 0 / 0.5719 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.3593, allocations: 244.6 kB / 0.5721 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3593, allocations: 4 kB / 0.5721 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005659/0.365, allocations: 455.3 kB / 0.5726 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.365, allocations: 0 / 0.5726 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.365, allocations: 4 kB / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.3678, allocations: 1.953 MB / 0.5745 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3678, allocations: 0 / 0.5745 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.3687, allocations: 323.3 kB / 0.5748 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.3688, allocations: 19.84 kB / 0.5748 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.3688, allocations: 4 kB / 0.5748 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3692, allocations: 15.97 kB / 0.5748 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.3693, allocations: 15.97 kB / 0.5748 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3693, allocations: 7.922 kB / 0.5749 GB, free: 5.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3695, allocations: 209.2 kB / 0.5751 GB, free: 4.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3695, allocations: 4 kB / 0.5751 GB, free: 4.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.3699, allocations: 67.89 kB / 0.5751 GB, free: 4.887 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.001391/0.3713, allocations: 0.8737 MB / 0.576 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005976/0.3772, allocations: 0.5816 MB / 0.5765 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3772, allocations: 4 kB / 0.5765 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005508/0.3828, allocations: 499.3 kB / 0.577 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3832, allocations: 48.56 kB / 0.5771 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.3886, allocations: 2.97 MB / 0.58 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.3887, allocations: 177.1 kB / 0.5801 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.3889, allocations: 54.05 kB / 0.5802 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3891, allocations: 67.41 kB / 0.5803 GB, free: 15.49 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3891, allocations: 0 / 0.5803 GB, free: 15.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.4268, allocations: 9.627 MB / 0.5897 GB, free: 6.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.08, allocations: 4 kB / 0.5897 GB, free: 6.094 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.184748433995992]