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.001013/0.001013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00113/0.00113, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9672/0.9672, allocations: 177.1 MB / 205 MB, free: 5.633 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.2312/0.2312, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.822e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003594/0.003633, allocations: 1.899 MB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.006036, allocations: 1.34 MB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.006138, allocations: 7.938 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.006477, allocations: 59.61 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.006831, allocations: 91.5 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.007392, allocations: 223 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.007823, allocations: 413.5 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.007884, allocations: 16.94 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.008256, allocations: 219.1 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.00851, allocations: 151.5 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.008546, allocations: 12 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.008981, allocations: 231.4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.009163, allocations: 131.4 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.009299, allocations: 123.5 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.01, allocations: 0.5214 MB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01001, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01001, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.01001, allocations: 4 kB / 383.5 MB, free: 13.2 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.001052/0.01107, allocations: 0.8229 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01111, allocations: 12.03 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01124, allocations: 88.56 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.01157, allocations: 243.9 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.01161, allocations: 33.36 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.01168, allocations: 48.31 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.01228, allocations: 405.5 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01229, allocations: 3.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.01233, allocations: 20 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.437e-05/0.01241, allocations: 57.27 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.01289, allocations: 295.7 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.01428, allocations: 1.153 MB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.0146, allocations: 284 kB / 386.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.01469, allocations: 64.11 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.01472, allocations: 8.234 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.01474, allocations: 41.62 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.332e-06/0.01474, allocations: 0 / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004122/0.01515, allocations: 267.9 kB / 387.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.01518, allocations: 51.41 kB / 387.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01534, allocations: 282.7 kB / 387.6 MB, free: 8.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01536, allocations: 33.7 kB / 387.6 MB, free: 8.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.01548, allocations: 335.2 kB / 388 MB, free: 8.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.01555, allocations: 107.2 kB / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.01563, allocations: 91.3 kB / 388.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01575, allocations: 0.5079 MB / 388.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.01583, allocations: 51.97 kB / 388.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.016, allocations: 218.7 kB / 388.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.01626, allocations: 303.7 kB / 389.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01627, allocations: 4 kB / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003523/0.01662, allocations: 309.1 kB / 389.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01663, allocations: 10.03 kB / 389.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01664, allocations: 7.938 kB / 389.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01666, allocations: 4 kB / 389.5 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.01698, allocations: 160.3 kB / 389.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.01848, allocations: 5.406 MB / 395.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.0186, allocations: 35.77 kB / 395.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.01862, allocations: 20.38 kB / 395.2 MB, free: 0.9766 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.0001126/0.01873, allocations: 188.4 kB / 395.3 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.01878, allocations: 35.78 kB / 395.4 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.01927, allocations: 372.1 kB / 395.7 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01927, allocations: 4 kB / 395.8 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01927, allocations: 0 / 395.8 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01928, allocations: 3.984 kB / 395.8 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.01958, allocations: 364.5 kB / 396.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01958, allocations: 0 / 396.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.01987, allocations: 147.8 kB / 396.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01987, allocations: 3.938 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.01989, allocations: 12 kB / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.02139, allocations: 5.407 MB / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02139, allocations: 0 / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.02198, allocations: 452.8 kB / 402.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.02207, allocations: 59.73 kB / 402.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.0221, allocations: 11.94 kB / 402.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.02218, allocations: 8 kB / 402.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.02226, allocations: 31.89 kB / 402.2 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.02227, allocations: 12 kB / 402.2 MB, free: 9.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.947e-05/0.02237, allocations: 200 kB / 402.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02237, allocations: 0 / 402.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.0227, allocations: 195.3 kB / 402.6 MB, free: 9.262 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.0002424/0.02294, allocations: 178.8 kB / 402.8 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.02342, allocations: 287.3 kB / 403.1 MB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02342, allocations: 0 / 403.1 MB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.0237, allocations: 200.3 kB / 403.3 MB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.02394, allocations: 44.36 kB / 403.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.0251, allocations: 0.8196 MB / 404.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.853e-05/0.02519, allocations: 160.7 kB / 404.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.02535, allocations: 106.7 kB / 404.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.02543, allocations: 40.48 kB / 404.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02543, allocations: 0 / 404.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of Templates: time 0.007424/0.03285, allocations: 5.803 MB / 410.2 MB, free: 1.684 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.7606692840345204]