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.001934/0.001934, 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.002372/0.002372, allocations: 210.5 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2342/0.2342, allocations: 46.95 MB / 360.9 MB, free: 4.027 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.89 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003307/0.3266, allocations: 1.652 MB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3284, allocations: 0.8345 MB / 0.5635 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.3285, allocations: 8 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3288, allocations: 35.83 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.329, allocations: 51.73 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.3294, allocations: 127 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3296, allocations: 143.3 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3297, allocations: 13.62 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.3298, allocations: 59.72 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3299, allocations: 63.73 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3299, allocations: 7.938 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.3303, allocations: 163.8 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.3303, allocations: 35.84 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.3304, allocations: 51.67 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.3308, allocations: 233.4 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3308, allocations: 8 kB / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3308, allocations: 0 / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3308, allocations: 4 kB / 0.5645 GB, free: 0.668 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.0006976/0.3315, allocations: 401.4 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3316, allocations: 8.031 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3327, allocations: 116.6 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.333, allocations: 174.4 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.333, allocations: 8.375 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.333, allocations: 12.36 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.3337, allocations: 321.7 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3337, allocations: 7.938 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3338, allocations: 0 / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.3338, allocations: 27.92 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.3346, allocations: 319.7 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3361, allocations: 0.5747 MB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.3368, allocations: 206.4 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.3371, allocations: 96.73 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3372, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3372, allocations: 34.56 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.3372, allocations: 0 / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001054/0.3383, allocations: 289.3 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.3383, allocations: 59.34 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3385, allocations: 140.9 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.3385, allocations: 29.7 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3386, allocations: 144 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3386, allocations: 35.69 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.3387, allocations: 53.67 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3389, allocations: 322.8 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3392, allocations: 79.91 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.3396, allocations: 142.7 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.3402, allocations: 219 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3402, allocations: 4 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007789/0.341, allocations: 269.2 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.341, allocations: 8 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.341, allocations: 0 / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.341, allocations: 4 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.3415, allocations: 87.86 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.3428, allocations: 1.786 MB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.343, allocations: 23.81 kB / 0.5703 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.343, allocations: 19.97 kB / 0.5703 GB, free: 10.42 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.0001534/0.3432, allocations: 137.8 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.3432, allocations: 7.953 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.344, allocations: 266.1 kB / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3441, allocations: 0 / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3441, allocations: 0 / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3441, allocations: 0 / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3443, allocations: 201.1 kB / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3443, allocations: 0 / 0.5709 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.3447, allocations: 67.88 kB / 0.571 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3447, allocations: 0 / 0.571 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3447, allocations: 11.97 kB / 0.571 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.3458, allocations: 1.789 MB / 0.5727 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3458, allocations: 3.984 kB / 0.5727 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.3466, allocations: 319.2 kB / 0.573 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.3466, allocations: 7.953 kB / 0.573 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.3466, allocations: 8.219 kB / 0.573 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3468, allocations: 11.98 kB / 0.573 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.3469, allocations: 15.97 kB / 0.5731 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3469, allocations: 7.984 kB / 0.5731 GB, free: 7.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.347, allocations: 107.2 kB / 0.5732 GB, free: 7.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.347, allocations: 0 / 0.5732 GB, free: 7.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000385/0.3474, allocations: 59.83 kB / 0.5732 GB, free: 7.293 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.0002613/0.3477, allocations: 131.1 kB / 0.5734 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.3485, allocations: 239.6 kB / 0.5736 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3485, allocations: 0 / 0.5736 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.349, allocations: 136.2 kB / 0.5737 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3493, allocations: 9.625 kB / 0.5737 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.3501, allocations: 363.7 kB / 0.5741 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3503, allocations: 130.1 kB / 0.5742 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3505, allocations: 64.86 kB / 0.5743 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.3506, allocations: 23.41 kB / 0.5743 GB, free: 6.168 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3506, allocations: 0 / 0.5743 GB, free: 6.168 MB / 414.1 MB Notification: Performance of Templates: time 0.007172/0.3577, allocations: 2.881 MB / 0.5771 GB, free: 3.336 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 5.552876660600305]