Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007606/0.0007606, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001791, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007019/0.0007019, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001585, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8671/0.8671, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1482/1.015, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1419/0.1419, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02047/0.1623, allocations: 12.3 MB / 266.1 MB, free: 3.887 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.24e-05, allocations: 2.312 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002417/0.002439, allocations: 1.903 MB / 269.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003964, allocations: 1.372 MB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.004027, allocations: 4 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.004162, allocations: 39.77 kB / 270.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.004284, allocations: 59.5 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.004785, allocations: 239 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004938, allocations: 111.3 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.004988, allocations: 5.969 kB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.005174, allocations: 75.75 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.005258, allocations: 39.83 kB / 271.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.005273, allocations: 4 kB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.005722, allocations: 311.4 kB / 271.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.005746, allocations: 11.94 kB / 271.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.005779, allocations: 19.94 kB / 271.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.006127, allocations: 287 kB / 271.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.00614, allocations: 0 / 271.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006141, allocations: 3.938 kB / 271.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.006151, allocations: 0 / 271.9 MB, free: 14.04 MB / 282.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.0004106/0.006561, allocations: 367.8 kB / 272.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.006591, allocations: 12.03 kB / 272.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.006627, allocations: 16.92 kB / 272.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.006714, allocations: 125.6 kB / 272.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006726, allocations: 8.375 kB / 272.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.006754, allocations: 16.31 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.006905, allocations: 125.6 kB / 272.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006914, allocations: 3.938 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.006924, allocations: 4 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.006929, allocations: 4 kB / 272.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.006987, allocations: 43.97 kB / 272.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.007484, allocations: 328.7 kB / 272.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.007605, allocations: 66.48 kB / 273 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.007633, allocations: 20.84 kB / 273 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.007658, allocations: 12 kB / 273 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.007678, allocations: 30.56 kB / 273 MB, free: 12.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.00768, allocations: 0 / 273 MB, free: 12.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001411/0.007821, allocations: 85.55 kB / 273.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.007844, allocations: 55.34 kB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.007899, allocations: 122.7 kB / 273.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.007911, allocations: 29.7 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.007952, allocations: 115.8 kB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.007977, allocations: 43.62 kB / 273.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.008014, allocations: 29.7 kB / 273.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.008084, allocations: 326.8 kB / 273.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.008104, allocations: 15.98 kB / 273.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.008141, allocations: 53.12 kB / 273.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.008211, allocations: 77.06 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008214, allocations: 3.938 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001176/0.008331, allocations: 101.6 kB / 274.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.008344, allocations: 4 kB / 274.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008349, allocations: 7.938 kB / 274.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008362, allocations: 3.938 kB / 274.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.008503, allocations: 43.97 kB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002222/0.008725, allocations: 0.5938 MB / 274.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.336e-05/0.008778, allocations: 11.89 kB / 274.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.008788, allocations: 8 kB / 274.7 MB, free: 10.95 MB / 282.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.456e-05/0.008852, allocations: 122 kB / 274.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.008874, allocations: 11.92 kB / 274.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.009025, allocations: 98.39 kB / 275 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009028, allocations: 4 kB / 275 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.009029, allocations: 0 / 275 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.009033, allocations: 0 / 275 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.009162, allocations: 109.8 kB / 275.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009164, allocations: 0 / 275.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.009264, allocations: 43.91 kB / 275.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.009297, allocations: 15.88 kB / 275.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009299, allocations: 4 kB / 275.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.009309, allocations: 4 kB / 275.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001746/0.009483, allocations: 0.5743 MB / 275.7 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.009484, allocations: 0 / 275.7 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.009615, allocations: 211.3 kB / 275.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.00963, allocations: 8.078 kB / 275.9 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.009676, allocations: 8 kB / 275.9 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.009706, allocations: 7.984 kB / 275.9 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.009713, allocations: 4 kB / 276 MB, free: 9.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.578e-05/0.009728, allocations: 16.84 kB / 276 MB, free: 9.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009728, allocations: 0 / 276 MB, free: 9.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.009961, allocations: 79.62 kB / 276 MB, free: 9.566 MB / 282.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.0002449/0.01021, allocations: 164.1 kB / 276.2 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.01035, allocations: 69.25 kB / 276.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01036, allocations: 4.469 kB / 276.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.01042, allocations: 65 kB / 276.3 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.01059, allocations: 53.61 kB / 276.4 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.01211, allocations: 292 kB / 276.7 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01215, allocations: 71.34 kB / 276.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.3e-05/0.01223, allocations: 24.7 kB / 276.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.0123, allocations: 67.36 kB / 276.8 MB, free: 8.707 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.0123, allocations: 0 / 276.8 MB, free: 8.707 MB / 282.7 MB Notification: Performance of Templates: time 0.004188/0.01649, allocations: 2.259 MB / 279.1 MB, free: 6.445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.821939983405173]