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.001846/0.001846, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002344/0.002344, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 8 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.2285/0.2285, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.002165/0.002165, allocations: 55.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3283, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002842/0.3311, allocations: 1.686 MB / 0.5623 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3327, allocations: 0.9279 MB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.3327, allocations: 4 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3329, allocations: 27.83 kB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.3331, allocations: 55.73 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.3335, allocations: 135.5 kB / 0.5634 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3337, allocations: 143.3 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.3338, allocations: 9.438 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.3338, allocations: 55.72 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.334, allocations: 75.67 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.334, allocations: 4 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.3343, allocations: 211.6 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.3344, allocations: 39.89 kB / 0.564 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.3345, allocations: 67.53 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3348, allocations: 233.1 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3348, allocations: 3.938 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3348, allocations: 4 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3348, allocations: 0 / 0.5642 GB, free: 0.7891 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.0006151/0.3355, allocations: 405.4 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3355, allocations: 8.031 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.3355, allocations: 50.73 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.3366, allocations: 116.6 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.3369, allocations: 170.3 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3369, allocations: 12.38 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.3369, allocations: 16.38 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.3377, allocations: 317.4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3377, allocations: 0 / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3377, allocations: 4 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.3378, allocations: 23.97 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.3385, allocations: 319.6 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.34, allocations: 0.8067 MB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.3407, allocations: 210.3 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.341, allocations: 84.89 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.341, allocations: 11.92 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.341, allocations: 38.55 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.341, allocations: 0 / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001004/0.342, allocations: 297.2 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.3421, allocations: 51.41 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3423, allocations: 183.3 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3423, allocations: 33.7 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.3424, allocations: 139.7 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3424, allocations: 43.67 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.3425, allocations: 53.62 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3427, allocations: 322.8 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3429, allocations: 79.91 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.3433, allocations: 138.8 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.3438, allocations: 222.6 kB / 0.5682 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3439, allocations: 0 / 0.5682 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007553/0.3446, allocations: 273.7 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3446, allocations: 14.28 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3446, allocations: 4.031 kB / 0.5685 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3446, allocations: 7.938 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.3451, allocations: 75.92 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3462, allocations: 1.793 MB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3464, allocations: 19.84 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3464, allocations: 19.97 kB / 0.5704 GB, free: 10.15 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.0001609/0.3466, allocations: 142.5 kB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3467, allocations: 15.89 kB / 0.5705 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/0.3474, allocations: 262.6 kB / 0.5708 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3474, allocations: 0 / 0.5708 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3474, allocations: 4 kB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3475, allocations: 3.984 kB / 0.5708 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.3478, allocations: 232.5 kB / 0.571 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3478, allocations: 0 / 0.571 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.3482, allocations: 75.8 kB / 0.5711 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3482, allocations: 0 / 0.5711 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3482, allocations: 7.984 kB / 0.5711 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3493, allocations: 1.785 MB / 0.5728 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3493, allocations: 0 / 0.5728 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.35, allocations: 319.5 kB / 0.5731 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.35, allocations: 11.91 kB / 0.5732 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3501, allocations: 8 kB / 0.5732 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3503, allocations: 7.984 kB / 0.5732 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3503, allocations: 12.16 kB / 0.5732 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3504, allocations: 15.97 kB / 0.5732 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3505, allocations: 141.5 kB / 0.5733 GB, free: 6.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3505, allocations: 0 / 0.5733 GB, free: 6.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3509, allocations: 67.83 kB / 0.5734 GB, free: 6.914 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.00117/0.352, allocations: 0.8644 MB / 0.5742 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008266/0.3529, allocations: 231.6 kB / 0.5745 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3529, allocations: 0 / 0.5745 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.3533, allocations: 136.2 kB / 0.5746 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3536, allocations: 15.92 kB / 0.5746 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.3573, allocations: 2.342 MB / 0.5769 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3577, allocations: 0.7397 MB / 0.5776 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.3579, allocations: 72.95 kB / 0.5777 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.358, allocations: 55.39 kB / 0.5777 GB, free: 2.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.358, allocations: 0 / 0.5777 GB, free: 2.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3885, allocations: 4.978 MB / 0.5826 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.68, allocations: 8.75 kB / 0.5826 GB, free: 13.47 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.771739296149462]