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.001179/0.001179, 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.001281/0.001281, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.9627/0.9627, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.261/0.261, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.442e-06/1.442e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.335e-05, allocations: 10.25 kB / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002168/0.002192, allocations: 1.891 MB / 377.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003613, allocations: 1.328 MB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.00368, allocations: 4 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.003908, allocations: 63.55 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.004132, allocations: 95.42 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.004476, allocations: 223.1 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.004766, allocations: 417.4 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.004812, allocations: 12.94 kB / 380.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.005045, allocations: 207.2 kB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.005232, allocations: 163.5 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.005256, allocations: 12 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.005531, allocations: 227.3 kB / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.005657, allocations: 131.4 kB / 380.8 MB, free: 188 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.005754, allocations: 127.5 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.006253, allocations: 0.5214 MB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006255, allocations: 0 / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006256, allocations: 0 / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006262, allocations: 4 kB / 381.4 MB, free: 15.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.0008164/0.007078, allocations: 0.8267 MB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.007114, allocations: 8.031 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.007222, allocations: 92.56 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.00748, allocations: 247.9 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.007503, allocations: 29.38 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.00755, allocations: 40.38 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.008018, allocations: 413.5 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.008033, allocations: 3.938 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.008065, allocations: 23.98 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/0.008129, allocations: 57.27 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.00847, allocations: 291.7 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.009835, allocations: 1.134 MB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.01023, allocations: 295.9 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01034, allocations: 68.11 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.01038, allocations: 12.22 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.01041, allocations: 37.62 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/0.01041, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005101/0.01092, allocations: 263.9 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.01097, allocations: 59.39 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.01127, allocations: 278.7 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.01129, allocations: 29.7 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.01146, allocations: 343.2 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.01152, allocations: 99.17 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.01161, allocations: 95.3 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.01176, allocations: 0.5079 MB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.01185, allocations: 51.95 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.01204, allocations: 223.5 kB / 386.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.01254, allocations: 303.6 kB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01254, allocations: 0 / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003745/0.01292, allocations: 313.1 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.01294, allocations: 8 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01295, allocations: 7.938 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01296, allocations: 4 kB / 387.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.0133, allocations: 163.8 kB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.01513, allocations: 5.411 MB / 393.1 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.01526, allocations: 27.78 kB / 393.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.01529, allocations: 27.98 kB / 393.1 MB, free: 3.297 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.0001493/0.01544, allocations: 180.8 kB / 393.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.01549, allocations: 35.8 kB / 393.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.01599, allocations: 372.1 kB / 393.7 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.016, allocations: 7.984 kB / 393.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.016, allocations: 0 / 393.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01601, allocations: 8 kB / 393.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.01634, allocations: 360.4 kB / 394.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01634, allocations: 0 / 394.1 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.01662, allocations: 143.8 kB / 394.2 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01662, allocations: 4 kB / 394.2 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.01664, allocations: 15.98 kB / 394.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.01833, allocations: 5.395 MB / 399.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01833, allocations: 0 / 399.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.01874, allocations: 461 kB / 400.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.01884, allocations: 59.75 kB / 400.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.01888, allocations: 15.92 kB / 400.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.01896, allocations: 4 kB / 400.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.01902, allocations: 31.89 kB / 400.2 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01904, allocations: 16 kB / 400.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.01914, allocations: 196 kB / 400.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01914, allocations: 4 kB / 400.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.01956, allocations: 191.2 kB / 400.6 MB, free: 11.59 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.0002628/0.01983, allocations: 174.9 kB / 400.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.02032, allocations: 291.3 kB / 401 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02032, allocations: 0 / 401 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.02059, allocations: 199.4 kB / 401.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.02083, allocations: 45.31 kB / 401.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.022, allocations: 0.8098 MB / 402.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.24e-05/0.02209, allocations: 168.6 kB / 402.3 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.02226, allocations: 106.7 kB / 402.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.02234, allocations: 40.48 kB / 402.4 MB, free: 9.711 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02234, allocations: 0 / 402.4 MB, free: 9.711 MB / 378.7 MB Notification: Performance of Templates: time 0.007717/0.03005, allocations: 5.798 MB / 408.2 MB, free: 4.012 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.7548740052152425]