Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.0009227/0.0009227, allocations: 67.77 kB / 21.69 MB, free: 2.848 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.001033/0.001033, allocations: 164.7 kB / 24.99 MB, free: 8.785 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.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2481/0.2481, allocations: 34.25 MB / 296 MB, free: 0.7852 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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.831e-05, allocations: 6.312 kB / 378.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002036/0.002054, allocations: 1.891 MB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003466, allocations: 1.34 MB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.00353, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.003768, allocations: 55.62 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.003983, allocations: 87.44 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.004322, allocations: 227.1 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.004616, allocations: 417.5 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.004659, allocations: 12.94 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.004892, allocations: 215.1 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.00506, allocations: 151.5 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.005085, allocations: 12 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.005359, allocations: 231.4 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.005483, allocations: 139.4 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.005579, allocations: 119.5 kB / 382.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.006039, allocations: 0.5214 MB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00604, allocations: 3.938 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006041, allocations: 0 / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.006047, allocations: 0 / 383.4 MB, free: 13.53 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0008585/0.006905, allocations: 0.8229 MB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.006937, allocations: 8.031 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.834e-05/0.007035, allocations: 88.56 kB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.007272, allocations: 255.8 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.007293, allocations: 29.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.007338, allocations: 48.3 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.007758, allocations: 409.5 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.00777, allocations: 7.938 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.0078, allocations: 20 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.007854, allocations: 53.28 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.008176, allocations: 295.7 kB / 385.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.009387, allocations: 1.145 MB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.009687, allocations: 280 kB / 386.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.00978, allocations: 72.11 kB / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.009804, allocations: 8.234 kB / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.009827, allocations: 41.61 kB / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.162e-06/0.009828, allocations: 0 / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003858/0.01021, allocations: 263.9 kB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.01024, allocations: 55.41 kB / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.0104, allocations: 282.7 kB / 387.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.01042, allocations: 29.7 kB / 387.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.01053, allocations: 335.2 kB / 387.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.01059, allocations: 103.2 kB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.01066, allocations: 91.3 kB / 388.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.0108, allocations: 0.5157 MB / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.01088, allocations: 51.97 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.01103, allocations: 218.7 kB / 388.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.01129, allocations: 303.7 kB / 389.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01129, allocations: 0 / 389.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003387/0.01163, allocations: 313.2 kB / 389.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01164, allocations: 8 kB / 389.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01165, allocations: 7.938 kB / 389.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01167, allocations: 4 kB / 389.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.01198, allocations: 163.9 kB / 389.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.0134, allocations: 5.407 MB / 395.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.0135, allocations: 31.77 kB / 395.1 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.01352, allocations: 24 kB / 395.1 MB, free: 1.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.01362, allocations: 184.7 kB / 395.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.01366, allocations: 39.8 kB / 395.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.01413, allocations: 372.1 kB / 395.7 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01413, allocations: 3.938 kB / 395.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01413, allocations: 7.984 kB / 395.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01414, allocations: 0 / 395.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.01442, allocations: 360.4 kB / 396.1 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01442, allocations: 0 / 396.1 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.01469, allocations: 143.8 kB / 396.2 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0147, allocations: 0 / 396.2 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01471, allocations: 16 kB / 396.3 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.01641, allocations: 5.398 MB / 401.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01641, allocations: 4.375 kB / 401.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.01684, allocations: 456.8 kB / 402.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.01692, allocations: 59.75 kB / 402.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.01696, allocations: 11.94 kB / 402.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.01704, allocations: 8 kB / 402.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.01711, allocations: 27.89 kB / 402.2 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.01712, allocations: 19.98 kB / 402.2 MB, free: 9.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.01723, allocations: 200 kB / 402.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01723, allocations: 0 / 402.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.01755, allocations: 191.2 kB / 402.6 MB, free: 9.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.01776, allocations: 171 kB / 402.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.01822, allocations: 287.7 kB / 403.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01822, allocations: 0 / 403.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.01849, allocations: 203.3 kB / 403.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01872, allocations: 48.36 kB / 403.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.0201, allocations: 0.8192 MB / 404.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.829e-05/0.02018, allocations: 160.7 kB / 404.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.02036, allocations: 110.7 kB / 404.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.02043, allocations: 44.42 kB / 404.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02043, allocations: 0 / 404.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of Templates: time 0.007681/0.02811, allocations: 5.797 MB / 410.2 MB, free: 2.012 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_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.607410044874996]