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_volumeFlowRate_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.00134/0.00134, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001844/0.001844, allocations: 211.8 kB / 23.72 MB, free: 4.531 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2233/0.2233, allocations: 46.97 MB / 360.9 MB, free: 4.055 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.0033/0.3426, allocations: 1.639 MB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3442, allocations: 0.8423 MB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.3443, allocations: 4 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3445, allocations: 39.77 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.3447, allocations: 51.73 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3451, allocations: 134.9 kB / 0.5633 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3454, allocations: 139.3 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.3454, allocations: 13.42 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.3455, allocations: 55.73 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3456, allocations: 75.66 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3457, allocations: 8 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.346, allocations: 167.7 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.3461, allocations: 43.83 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.3461, allocations: 43.73 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.3465, allocations: 229 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3465, allocations: 0 / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3465, allocations: 0 / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3465, allocations: 4 kB / 0.564 GB, free: 0.7617 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007536/0.3473, allocations: 405.4 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3473, allocations: 12.03 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.3474, allocations: 50.67 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3487, allocations: 116.6 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3489, allocations: 178.2 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.349, allocations: 12.38 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.349, allocations: 12.38 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.3497, allocations: 321.5 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3497, allocations: 0 / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3498, allocations: 4 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.3498, allocations: 27.92 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.3506, allocations: 323.6 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.3521, allocations: 0.6133 MB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/0.3529, allocations: 218.3 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3531, allocations: 80.81 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3532, allocations: 4 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3532, allocations: 34.59 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3532, allocations: 0 / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001101/0.3543, allocations: 297.2 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3544, allocations: 55.41 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3546, allocations: 195.2 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3546, allocations: 25.7 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3547, allocations: 147.7 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.3547, allocations: 31.7 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.3548, allocations: 49.67 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.355, allocations: 326.8 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3553, allocations: 83.89 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.3556, allocations: 137.3 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.3563, allocations: 223 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3563, allocations: 3.938 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007798/0.357, allocations: 273.2 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3571, allocations: 8 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3571, allocations: 7.922 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3571, allocations: 4 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.3576, allocations: 83.86 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.3588, allocations: 1.782 MB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3591, allocations: 27.86 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3591, allocations: 11.98 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001924/0.3593, allocations: 149.7 kB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.3593, allocations: 15.84 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.3602, allocations: 270.9 kB / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3602, allocations: 0 / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3602, allocations: 0 / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3602, allocations: 0 / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.3606, allocations: 216.7 kB / 0.5706 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3606, allocations: 0 / 0.5706 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.3611, allocations: 75.86 kB / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3611, allocations: 4 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3611, allocations: 11.98 kB / 0.5707 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.3624, allocations: 1.781 MB / 0.5724 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3624, allocations: 4.031 kB / 0.5724 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.3632, allocations: 331.1 kB / 0.5727 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3632, allocations: 12.22 kB / 0.5728 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.3633, allocations: 8 kB / 0.5728 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3635, allocations: 11.98 kB / 0.5728 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.3636, allocations: 11.97 kB / 0.5728 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.3636, allocations: 7.984 kB / 0.5728 GB, free: 7.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3637, allocations: 141.8 kB / 0.5729 GB, free: 7.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3637, allocations: 0 / 0.5729 GB, free: 7.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.3641, allocations: 63.81 kB / 0.573 GB, free: 7.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 (10): * Single equations (assignments): 7 * 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.00126/0.3654, allocations: 0.8722 MB / 0.5738 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.3664, allocations: 232.1 kB / 0.5741 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3664, allocations: 4 kB / 0.5741 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.3668, allocations: 135.7 kB / 0.5742 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3672, allocations: 14.19 kB / 0.5742 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.371, allocations: 2.334 MB / 0.5765 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.3711, allocations: 130.6 kB / 0.5766 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3713, allocations: 65.05 kB / 0.5767 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3714, allocations: 51.39 kB / 0.5767 GB, free: 3.109 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3714, allocations: 0 / 0.5767 GB, free: 3.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.403, allocations: 5.504 MB / 0.5821 GB, free: 13.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.53, allocations: 2.906 kB / 0.5821 GB, free: 13.78 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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: 15.610088507994078]