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.001023/0.001023, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00126/0.00126, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.9872/0.9872, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2655/0.2655, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 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.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|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.[0-9,]+.|a.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|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 1.894e-06/1.894e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.522e-05, allocations: 2.312 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00218/0.002215, allocations: 1.73 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003332, allocations: 0.8808 MB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.003377, allocations: 4 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003563, allocations: 35.7 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.003718, allocations: 47.69 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.004033, allocations: 147.4 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.004176, allocations: 143.2 kB / 328.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.004219, allocations: 14.27 kB / 328.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.004315, allocations: 63.83 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.00441, allocations: 59.8 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.004425, allocations: 4 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.004638, allocations: 163.6 kB / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.004698, allocations: 43.83 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.004741, allocations: 40.36 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.005007, allocations: 240.1 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005009, allocations: 0 / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005009, allocations: 0 / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.005012, allocations: 0 / 328.9 MB, free: 4.066 MB / 298.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.0004073/0.005419, allocations: 369.4 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.005448, allocations: 8.031 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.005947, allocations: 112.7 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.006084, allocations: 145.5 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006097, allocations: 16.36 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.00612, allocations: 12.38 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.006397, allocations: 205.5 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.006404, allocations: 4.125 kB / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.006422, allocations: 8.375 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.00645, allocations: 27.86 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.00656, allocations: 88.66 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.007195, allocations: 427.3 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.007402, allocations: 132 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.007446, allocations: 28.84 kB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007463, allocations: 7.984 kB / 330.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.007483, allocations: 34.55 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.007485, allocations: 4 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002191/0.007704, allocations: 97.56 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.007736, allocations: 55.41 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.007813, allocations: 137.5 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.007832, allocations: 29.7 kB / 330.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.007889, allocations: 140.1 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.007915, allocations: 35.64 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.007971, allocations: 49.66 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.008045, allocations: 326.8 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.00809, allocations: 26.8 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.00816, allocations: 74.83 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.008282, allocations: 116.7 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008285, allocations: 0 / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001591/0.008444, allocations: 136.3 kB / 331.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.008455, allocations: 12.03 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008459, allocations: 0 / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008473, allocations: 4 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.008688, allocations: 63.94 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005521/0.00924, allocations: 1.77 MB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.009318, allocations: 19.89 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.009335, allocations: 12.17 kB / 333.5 MB, free: 15.09 MB / 314.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 8.256e-05/0.009417, allocations: 124.6 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.009441, allocations: 4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.009617, allocations: 130.3 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009619, allocations: 0 / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009621, allocations: 3.938 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009623, allocations: 0 / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.009747, allocations: 117.8 kB / 333.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.009748, allocations: 0 / 333.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.009895, allocations: 59.88 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009896, allocations: 0 / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.009909, allocations: 7.984 kB / 334 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004795/0.01039, allocations: 1.777 MB / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01039, allocations: 0 / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01054, allocations: 228.9 kB / 336 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.01055, allocations: 7.953 kB / 336 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01056, allocations: 0 / 336 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.01063, allocations: 4 kB / 336 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01067, allocations: 24.11 kB / 336 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01068, allocations: 3.984 kB / 336 MB, free: 12.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.995e-05/0.0107, allocations: 28.77 kB / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000192/0.01089, allocations: 67.77 kB / 336.1 MB, free: 12.39 MB / 314.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.0001428/0.01104, allocations: 112.3 kB / 336.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.01126, allocations: 118.8 kB / 336.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01126, allocations: 0 / 336.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.01138, allocations: 73.17 kB / 336.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.01151, allocations: 23.97 kB / 336.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.01207, allocations: 347.6 kB / 336.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01211, allocations: 79.31 kB / 336.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.01219, allocations: 36.98 kB / 336.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.01227, allocations: 71.33 kB / 337 MB, free: 11.49 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01227, allocations: 0 / 337 MB, free: 11.49 MB / 314.7 MB Notification: Performance of Templates: time 0.004227/0.0165, allocations: 2.92 MB / 339.9 MB, free: 8.633 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0909278918989003]