Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.0008311/0.0008311, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008259/0.0008259, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.871/0.871, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2493/0.2493, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 1.513e-06/1.513e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.075e-05, allocations: 2.281 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.1677/0.1677, allocations: 1.659 MB / 443.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1688, allocations: 0.8382 MB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.1688, allocations: 0 / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.169, allocations: 33.11 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1692, allocations: 53.31 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1694, allocations: 137.5 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1696, allocations: 143 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.1696, allocations: 13.56 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.1697, allocations: 69.03 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1697, allocations: 62.27 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1698, allocations: 5.875 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.17, allocations: 164.2 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.17, allocations: 40.67 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.17, allocations: 40 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1703, allocations: 250 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1703, allocations: 3.938 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1703, allocations: 0 / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1703, allocations: 0 / 445.7 MB, free: 42.97 MB / 410.7 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.0003979/0.1707, allocations: 404.1 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1707, allocations: 8.812 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.1707, allocations: 54.02 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.1714, allocations: 111.3 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1715, allocations: 172 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1715, allocations: 13.64 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1715, allocations: 12.5 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.1719, allocations: 315.9 kB / 446.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1719, allocations: 5.844 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1719, allocations: 7.75 kB / 446.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.172, allocations: 19.81 kB / 446.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.1724, allocations: 322.7 kB / 447.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.1731, allocations: 0.6127 MB / 447.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.1735, allocations: 218.8 kB / 447.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1737, allocations: 83.64 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1737, allocations: 0 / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.1737, allocations: 45.64 kB / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1737, allocations: 0 / 448 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005736/0.1743, allocations: 290.7 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.1743, allocations: 61.48 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.1744, allocations: 182.8 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1744, allocations: 25.7 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.1745, allocations: 145.3 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1745, allocations: 41.52 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1745, allocations: 56.73 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.846e-05/0.1746, allocations: 320.9 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1747, allocations: 90.08 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1749, allocations: 135.4 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.1752, allocations: 224.9 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1752, allocations: 4 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004024/0.1756, allocations: 261.7 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1756, allocations: 9.562 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1756, allocations: 0 / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1757, allocations: 2.906 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.1759, allocations: 94 kB / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000319/0.1762, allocations: 1.79 MB / 451.7 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.1763, allocations: 23.89 kB / 451.8 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1763, allocations: 19.31 kB / 451.8 MB, free: 39.05 MB / 410.7 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 7.071e-05/0.1764, allocations: 141.3 kB / 451.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1764, allocations: 13.86 kB / 451.9 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1769, allocations: 266.8 kB / 452.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1769, allocations: 6.75 kB / 452.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1769, allocations: 0 / 452.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1769, allocations: 3.656 kB / 452.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.177, allocations: 218.5 kB / 452.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.177, allocations: 2.844 kB / 452.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1772, allocations: 68.69 kB / 452.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1772, allocations: 0 / 452.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1772, allocations: 9.672 kB / 452.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002478/0.1774, allocations: 1.789 MB / 454.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1774, allocations: 288 / 454.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.1778, allocations: 310.6 kB / 454.6 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.1778, allocations: 17.72 kB / 454.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1778, allocations: 3.938 kB / 454.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.1779, allocations: 12.95 kB / 454.6 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.178, allocations: 12.84 kB / 454.6 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.178, allocations: 9.156 kB / 454.6 MB, free: 36.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.178, allocations: 141 kB / 454.8 MB, free: 36.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.178, allocations: 0 / 454.8 MB, free: 36.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.1783, allocations: 66.41 kB / 454.8 MB, free: 36.57 MB / 410.7 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.0005574/0.1788, allocations: 0.8758 MB / 455.7 MB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.1793, allocations: 238.8 kB / 456 MB, free: 35.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1793, allocations: 3.062 kB / 456 MB, free: 35.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.1795, allocations: 126.7 kB / 456.1 MB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1797, allocations: 12.78 kB / 456.1 MB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1816, allocations: 2.329 MB / 458.4 MB, free: 34.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.1817, allocations: 125.9 kB / 458.5 MB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1818, allocations: 67.97 kB / 458.6 MB, free: 34.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1819, allocations: 57.47 kB / 458.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1819, allocations: 0 / 458.7 MB, free: 34.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.2004, allocations: 5.597 MB / 464.3 MB, free: 32.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.699, allocations: 11.06 kB / 464.3 MB, free: 32.95 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.743865985423326]