Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001404/0.001404, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001497/0.001497, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.404/1.404, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.985e-05, allocations: 6.219 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00289/0.00292, allocations: 1.65 MB / 441.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.004505, allocations: 0.8334 MB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.004556, allocations: 8 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.004775, allocations: 31.77 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.004984, allocations: 55.67 kB / 442.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.005447, allocations: 129.7 kB / 442.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.005677, allocations: 155.2 kB / 443 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.005726, allocations: 17.56 kB / 443 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.005845, allocations: 63.81 kB / 443.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.005979, allocations: 67.73 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.006003, allocations: 4 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.006369, allocations: 155.8 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.006481, allocations: 51.77 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.006578, allocations: 35.86 kB / 443.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.007041, allocations: 247.1 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.007044, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007045, allocations: 0 / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.00705, allocations: 7.938 kB / 443.6 MB, free: 4.641 MB / 366.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.0007064/0.007757, allocations: 401.4 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.007796, allocations: 8.031 kB / 444 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.008931, allocations: 116.6 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.009197, allocations: 169.5 kB / 444.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.009216, allocations: 16.31 kB / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.009255, allocations: 12.38 kB / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.009988, allocations: 321.8 kB / 444.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01, allocations: 8.188 kB / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.01003, allocations: 4.375 kB / 444.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.01007, allocations: 23.92 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.01093, allocations: 319.6 kB / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.01235, allocations: 0.564 MB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.01313, allocations: 210.3 kB / 445.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.01344, allocations: 84.81 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.01347, allocations: 3.984 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.01351, allocations: 46.53 kB / 445.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.01351, allocations: 0 / 445.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001141/0.01465, allocations: 281.3 kB / 446.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.01471, allocations: 55.39 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01486, allocations: 149 kB / 446.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.01489, allocations: 29.7 kB / 446.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.015, allocations: 144.1 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.01504, allocations: 35.73 kB / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01514, allocations: 53.62 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01529, allocations: 322.8 kB / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.0156, allocations: 83.89 kB / 447 MB, free: 1.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.01597, allocations: 141.4 kB / 447.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.01667, allocations: 218.6 kB / 447.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01667, allocations: 3.938 kB / 447.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008209/0.01749, allocations: 269.2 kB / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.01752, allocations: 8 kB / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01753, allocations: 0 / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.01755, allocations: 8.453 kB / 447.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.01804, allocations: 79.86 kB / 447.7 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1595/0.1776, allocations: 1.789 MB / 449.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1779, allocations: 22.81 kB / 449.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1779, allocations: 12.41 kB / 449.6 MB, free: 19.66 MB / 366.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.0001383/0.178, allocations: 150.6 kB / 449.7 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.1781, allocations: 16.56 kB / 449.7 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.1789, allocations: 257.6 kB / 450 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1789, allocations: 1.578 kB / 450 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1789, allocations: 4.75 kB / 450 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1789, allocations: 0.7031 kB / 450 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1791, allocations: 185.3 kB / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1791, allocations: 0 / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.1795, allocations: 66.8 kB / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1795, allocations: 5.547 kB / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1795, allocations: 11.5 kB / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004885/0.18, allocations: 1.781 MB / 452 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.18, allocations: 0 / 452 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.1807, allocations: 318 kB / 452.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.1807, allocations: 9.797 kB / 452.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1807, allocations: 4.766 kB / 452.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1809, allocations: 15.41 kB / 452.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.181, allocations: 16.72 kB / 452.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.181, allocations: 13 kB / 452.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.1811, allocations: 105.5 kB / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1811, allocations: 0 / 452.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000359/0.1814, allocations: 65.59 kB / 452.6 MB, free: 17.43 MB / 366.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.0002085/0.1817, allocations: 133.8 kB / 452.7 MB, free: 17.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008495/0.1825, allocations: 229.8 kB / 452.9 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1825, allocations: 0 / 452.9 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.183, allocations: 133.8 kB / 453 MB, free: 17.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1832, allocations: 11.53 kB / 453 MB, free: 17.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.1839, allocations: 349.9 kB / 453.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.184, allocations: 126.8 kB / 453.5 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.1842, allocations: 68.38 kB / 453.6 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.1843, allocations: 27.52 kB / 453.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1843, allocations: 0 / 453.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of Templates: time 0.006513/0.1908, allocations: 2.711 MB / 456.3 MB, free: 16.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.828160353004932]