Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000951/0.000951, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.00137/0.00137, allocations: 169.7 kB / 24.82 MB, free: 9.266 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.2804/0.2804, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.7 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.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.652e-05, allocations: 6.312 kB / 376.5 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.005883/0.005909, allocations: 1.879 MB / 378.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.007762, allocations: 1.32 MB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.01088, allocations: 0 / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.01119, allocations: 59.61 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005669/0.01176, allocations: 99.42 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.01238, allocations: 219 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.01277, allocations: 417.5 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.01283, allocations: 16.94 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.01316, allocations: 211.2 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.01337, allocations: 151.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.0134, allocations: 8 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.01684, allocations: 231.4 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.01702, allocations: 115.4 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.01719, allocations: 127.5 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.01794, allocations: 0.5252 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.01795, allocations: 0 / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01795, allocations: 4 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01795, allocations: 4 kB / 381.9 MB, free: 14.96 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.0009989/0.01895, allocations: 0.8267 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.019, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.01912, allocations: 88.56 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.01939, allocations: 231.8 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.01942, allocations: 33.36 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.01948, allocations: 40.38 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.02298, allocations: 361.5 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.023, allocations: 3.938 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.02303, allocations: 16 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.67e-05/0.02311, allocations: 65.27 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.02339, allocations: 217 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.02501, allocations: 1.044 MB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.02539, allocations: 276 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.02547, allocations: 56.11 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.02553, allocations: 19.91 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.02556, allocations: 45.62 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.885e-06/0.02557, allocations: 0 / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.00353/0.0291, allocations: 239.9 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.02913, allocations: 55.41 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.02939, allocations: 274.6 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.02942, allocations: 37.64 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.02963, allocations: 343.2 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.02972, allocations: 103.2 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.02985, allocations: 95.27 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.03003, allocations: 0.5079 MB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.03012, allocations: 43.95 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.03068, allocations: 215.4 kB / 387.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.03102, allocations: 283.7 kB / 387.3 MB, free: 9.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.03102, allocations: 0 / 387.3 MB, free: 9.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004776/0.0315, allocations: 289.1 kB / 387.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.03152, allocations: 4 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.03153, allocations: 4 kB / 387.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.03156, allocations: 11.94 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.03206, allocations: 155.9 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.03422, allocations: 5.407 MB / 393.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.03442, allocations: 39.77 kB / 393.2 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.03445, allocations: 16 kB / 393.2 MB, free: 3.07 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.001269/0.03572, allocations: 188.8 kB / 393.4 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.0358, allocations: 35.8 kB / 393.5 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.03641, allocations: 348.1 kB / 393.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.03642, allocations: 0 / 393.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.03642, allocations: 4 kB / 393.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.03643, allocations: 3.984 kB / 393.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.03803, allocations: 273 kB / 394.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.03803, allocations: 0 / 394.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.03845, allocations: 139.9 kB / 394.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.03846, allocations: 4 kB / 394.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.03849, allocations: 19.92 kB / 394.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005324/0.04381, allocations: 5.399 MB / 399.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.04381, allocations: 0 / 399.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.04434, allocations: 429 kB / 400.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.04449, allocations: 59.69 kB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.04453, allocations: 8 kB / 400.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.04466, allocations: 11.98 kB / 400.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.04473, allocations: 23.91 kB / 400.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.04476, allocations: 15.98 kB / 400.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.04487, allocations: 191.9 kB / 400.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04487, allocations: 3.938 kB / 400.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006381/0.04551, allocations: 187.3 kB / 400.5 MB, free: 11.53 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.0003576/0.04587, allocations: 179 kB / 400.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.04701, allocations: 267.3 kB / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.04702, allocations: 4 kB / 401 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.04727, allocations: 188.3 kB / 401.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.04756, allocations: 44.31 kB / 401.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.04892, allocations: 0.8329 MB / 402 MB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.04903, allocations: 156.7 kB / 402.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000156/0.04918, allocations: 70.77 kB / 402.3 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.04931, allocations: 118.2 kB / 402.4 MB, free: 9.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.04931, allocations: 0 / 402.4 MB, free: 9.625 MB / 378.7 MB Notification: Performance of Templates: time 0.01032/0.05963, allocations: 6.379 MB / 408.8 MB, free: 3.312 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.7019755509682]