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_suddenChange_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.001377/0.001377, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001104/0.001104, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.945/0.945, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2384/0.2384, allocations: 34.27 MB / 296.1 MB, free: 0.707 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_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.029e-05, allocations: 3.188 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002168/0.002189, allocations: 1.862 MB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.003821, allocations: 1.376 MB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.003905, allocations: 4 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.004085, allocations: 39.77 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.004215, allocations: 59.5 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.00459, allocations: 251 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.004685, allocations: 107.3 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.004716, allocations: 13.95 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.004879, allocations: 71.69 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.004937, allocations: 39.83 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.004949, allocations: 4 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.005253, allocations: 311.4 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.00527, allocations: 15.86 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.005305, allocations: 36.34 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.005615, allocations: 327.9 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005618, allocations: 4 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005619, allocations: 4 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.005622, allocations: 0 / 329.8 MB, free: 3.133 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003105/0.005932, allocations: 341.4 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.005961, allocations: 8.031 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.005996, allocations: 24.86 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.006073, allocations: 117.6 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006086, allocations: 8.375 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.006109, allocations: 8.375 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.006242, allocations: 126.7 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.006251, allocations: 3.938 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.006259, allocations: 4 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.006264, allocations: 4 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.00632, allocations: 51.91 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.006767, allocations: 340.7 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.00687, allocations: 66.53 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.006895, allocations: 20.84 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.00691, allocations: 0 / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.006931, allocations: 46.5 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.006932, allocations: 0 / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001267/0.007058, allocations: 82.53 kB / 331 MB, free: 1.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.007082, allocations: 51.41 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.007134, allocations: 122.7 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.007146, allocations: 29.7 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.007185, allocations: 111.8 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.007211, allocations: 43.64 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.007246, allocations: 33.69 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.007311, allocations: 318.8 kB / 331.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.007326, allocations: 8 kB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.007368, allocations: 71.73 kB / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.007438, allocations: 82.89 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00744, allocations: 0 / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.059e-05/0.007531, allocations: 97.47 kB / 331.9 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.00754, allocations: 8.156 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007545, allocations: 4 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007558, allocations: 3.938 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.007673, allocations: 43.91 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002052/0.007878, allocations: 0.5821 MB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.007917, allocations: 15.83 kB / 332.6 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.007925, allocations: 4 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.007993, allocations: 117.8 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.008011, allocations: 16 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.008144, allocations: 112.4 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.008147, allocations: 4 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008148, allocations: 0 / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/0.008211, allocations: 3.984 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.008332, allocations: 101.8 kB / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.008334, allocations: 0 / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.008418, allocations: 35.98 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.008422, allocations: 7.922 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.00843, allocations: 4 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001661/0.008597, allocations: 0.582 MB / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008597, allocations: 4 kB / 333.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.008712, allocations: 187.4 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.008738, allocations: 19.88 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.00875, allocations: 4 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.008791, allocations: 4.094 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.00882, allocations: 19.97 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008826, allocations: 3.984 kB / 333.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.258e-05/0.008838, allocations: 16.84 kB / 333.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008838, allocations: 0 / 333.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.009025, allocations: 83.67 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.009217, allocations: 168 kB / 334.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.009345, allocations: 76.77 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.009348, allocations: 4 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.0094, allocations: 50.64 kB / 334.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.009523, allocations: 20.23 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.01005, allocations: 296.6 kB / 334.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01009, allocations: 71.34 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00106/0.01115, allocations: 12.77 kB / 334.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.01124, allocations: 67.36 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01124, allocations: 4 kB / 334.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of Templates: time 0.005471/0.01671, allocations: 2.664 MB / 337.3 MB, free: 11.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_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.029343974776566]