Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9572/0.9572, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.688e-05, allocations: 2.312 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002227/0.002244, allocations: 1.929 MB / 327.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.003757, allocations: 1.341 MB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.003815, allocations: 4 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.004038, allocations: 59.61 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.004242, allocations: 95.44 kB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.004552, allocations: 219.8 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.004846, allocations: 429.4 kB / 330.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.004896, allocations: 18.89 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.005118, allocations: 211.2 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005265, allocations: 139.5 kB / 330.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.005285, allocations: 12 kB / 330.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.0056, allocations: 239.4 kB / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.005705, allocations: 123.4 kB / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.005788, allocations: 115.5 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.00628, allocations: 0.5263 MB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.006281, allocations: 0 / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006282, allocations: 0 / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.006285, allocations: 4 kB / 331.4 MB, free: 1.602 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0006398/0.006925, allocations: 0.6683 MB / 332.1 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.006953, allocations: 8.031 kB / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.007022, allocations: 68.89 kB / 332.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.007219, allocations: 213 kB / 332.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.00724, allocations: 33.38 kB / 332.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.007285, allocations: 44.36 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.007644, allocations: 397.7 kB / 332.8 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.007657, allocations: 11.88 kB / 332.9 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.00768, allocations: 16 kB / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.007732, allocations: 61.27 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.007955, allocations: 205.1 kB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.009012, allocations: 0.9032 MB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.00928, allocations: 301.9 kB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.009336, allocations: 45.31 kB / 334.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.00936, allocations: 12.22 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.00938, allocations: 34.8 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.009382, allocations: 0 / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002565/0.009638, allocations: 168.9 kB / 334.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.009664, allocations: 55.34 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.009774, allocations: 211.3 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.009797, allocations: 33.7 kB / 334.9 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.009893, allocations: 280.5 kB / 335.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.009939, allocations: 99.16 kB / 335.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.01001, allocations: 69.66 kB / 335.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.01009, allocations: 330.8 kB / 335.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.01015, allocations: 50.8 kB / 335.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.01024, allocations: 141.7 kB / 335.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.01044, allocations: 235 kB / 336.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01044, allocations: 0 / 336.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002466/0.01069, allocations: 220.1 kB / 336.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.0107, allocations: 4 kB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.0107, allocations: 4 kB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01072, allocations: 8 kB / 336.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.01103, allocations: 144.2 kB / 336.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.01211, allocations: 3.549 MB / 340 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.01221, allocations: 35.73 kB / 340 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.01223, allocations: 16.36 kB / 340 MB, free: 8.566 MB / 314.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 8.92e-05/0.01232, allocations: 140.5 kB / 340.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.01235, allocations: 23.92 kB / 340.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.01271, allocations: 287.6 kB / 340.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01272, allocations: 4 kB / 340.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01272, allocations: 0 / 340.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01272, allocations: 11.97 kB / 340.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.01294, allocations: 205.8 kB / 340.7 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01294, allocations: 0 / 340.7 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.01321, allocations: 119.9 kB / 340.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01321, allocations: 0 / 340.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01323, allocations: 11.98 kB / 340.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.01423, allocations: 3.556 MB / 344.4 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01423, allocations: 0 / 344.4 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01452, allocations: 370.5 kB / 344.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.01459, allocations: 59.62 kB / 344.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.01462, allocations: 4 kB / 344.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.0147, allocations: 8 kB / 344.8 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.01475, allocations: 23.95 kB / 344.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01477, allocations: 12 kB / 344.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.01482, allocations: 69.66 kB / 344.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01482, allocations: 0 / 344.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.01511, allocations: 191.3 kB / 345.1 MB, free: 3.297 MB / 314.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.0002068/0.01532, allocations: 160 kB / 345.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.01569, allocations: 229.6 kB / 345.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.0157, allocations: 4 kB / 345.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.01592, allocations: 145.5 kB / 345.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01613, allocations: 40.38 kB / 345.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.01715, allocations: 0.826 MB / 346.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.632e-05/0.01724, allocations: 156.5 kB / 346.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.01738, allocations: 70.77 kB / 346.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.01749, allocations: 87.36 kB / 346.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01749, allocations: 4 kB / 346.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of Templates: time 0.007719/0.02521, allocations: 6.353 MB / 353.1 MB, free: 11.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.3957248092629015]