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.001052/0.001052, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001184/0.001184, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2602/0.2602, allocations: 34.26 MB / 296 MB, free: 0.7773 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.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.034e-05, allocations: 6.25 kB / 378.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00197/0.00199, allocations: 1.708 MB / 379.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003075, allocations: 0.8917 MB / 380.7 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.003136, allocations: 0 / 380.7 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.003342, allocations: 35.72 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.0035, allocations: 55.66 kB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.003846, allocations: 131.5 kB / 380.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.003995, allocations: 143.2 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.004039, allocations: 13.67 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.004123, allocations: 75.73 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.004217, allocations: 63.81 kB / 381.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004231, allocations: 4 kB / 381.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.004446, allocations: 159.6 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.004505, allocations: 43.84 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.004551, allocations: 39.84 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.004827, allocations: 231.1 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004829, allocations: 0 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00483, allocations: 4 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.004834, allocations: 4 kB / 381.6 MB, free: 15.37 MB / 362.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.0004411/0.005275, allocations: 0.4919 MB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005306, allocations: 8.031 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.005906, allocations: 124.6 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006079, allocations: 172.3 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.006091, allocations: 4.375 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.006115, allocations: 20.36 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.006449, allocations: 218.7 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006458, allocations: 192 / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.006477, allocations: 12.3 kB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.00651, allocations: 23.92 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.006707, allocations: 135.8 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.007484, allocations: 0.5592 MB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.007718, allocations: 110.9 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.00778, allocations: 35.7 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.007798, allocations: 4 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.007818, allocations: 37.39 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.007819, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003528/0.008172, allocations: 145.6 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.008205, allocations: 55.41 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.008304, allocations: 196.7 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.008322, allocations: 29.7 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.008396, allocations: 194.8 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.008422, allocations: 35.69 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.008484, allocations: 59.33 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.008599, allocations: 0.4961 MB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.008664, allocations: 31.97 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.008761, allocations: 107.3 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.00892, allocations: 149.3 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008921, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002318/0.009153, allocations: 161.4 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.009166, allocations: 8 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00917, allocations: 0 / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.009184, allocations: 8.219 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.009424, allocations: 79.86 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/0.01028, allocations: 2.699 MB / 388 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.01037, allocations: 11.89 kB / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01039, allocations: 15.98 kB / 388 MB, free: 8.613 MB / 362.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.805e-05/0.01047, allocations: 172.6 kB / 388.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01051, allocations: 11.95 kB / 388.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.01084, allocations: 166.6 kB / 388.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01084, allocations: 8 kB / 388.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01085, allocations: 7.938 kB / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01085, allocations: 0 / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.011, allocations: 188.5 kB / 388.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01101, allocations: 3.984 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.01117, allocations: 63.94 kB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01117, allocations: 0 / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01118, allocations: 11.98 kB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.01202, allocations: 2.68 MB / 391.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01202, allocations: 7.922 kB / 391.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.01226, allocations: 279.7 kB / 391.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.01227, allocations: 7.953 kB / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01229, allocations: 0 / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.01237, allocations: 8 kB / 391.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01241, allocations: 19.84 kB / 391.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.01243, allocations: 11.97 kB / 391.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.01247, allocations: 147.2 kB / 391.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.01247, allocations: 4 kB / 391.8 MB, free: 4.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01273, allocations: 63.83 kB / 391.9 MB, free: 4.613 MB / 362.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.0001633/0.0129, allocations: 119.2 kB / 392 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.01319, allocations: 147.4 kB / 392.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0132, allocations: 0 / 392.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.01338, allocations: 91.56 kB / 392.2 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01358, allocations: 19.97 kB / 392.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.01425, allocations: 333.5 kB / 392.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.0143, allocations: 91.31 kB / 392.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.0144, allocations: 52.95 kB / 392.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.01446, allocations: 28.45 kB / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01446, allocations: 0 / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of Templates: time 0.004482/0.01894, allocations: 2.728 MB / 395.5 MB, free: 1.016 MB / 362.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.322355201933533]