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_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.001495/0.001495, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001573/0.001573, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3267/0.3267, allocations: 32.8 MB / 293.9 MB, free: 1.23 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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.629e-06, allocations: 3.984 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/3.076e-05, allocations: 6.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003794/0.003825, allocations: 1.779 MB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.006828, allocations: 1.278 MB / 378.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.00693, allocations: 0 / 378.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.007191, allocations: 39.7 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.007437, allocations: 59.55 kB / 378.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.00818, allocations: 250.9 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.008358, allocations: 111.3 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.0084, allocations: 9.172 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.008647, allocations: 67.75 kB / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.00874, allocations: 43.81 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.00876, allocations: 4 kB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.009371, allocations: 307.4 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.009404, allocations: 23.86 kB / 379.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.009464, allocations: 31.84 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006357/0.0101, allocations: 330.9 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.0101, allocations: 0 / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01011, allocations: 4 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.01011, allocations: 0 / 379.6 MB, free: 0.6367 MB / 346.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.0007405/0.01085, allocations: 369.4 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.0109, allocations: 11.97 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.01097, allocations: 24.84 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.01113, allocations: 125.7 kB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.01115, allocations: 8.375 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.01119, allocations: 16.36 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.01159, allocations: 150.6 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.0116, allocations: 3.938 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.01162, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01162, allocations: 4 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.01198, allocations: 147.9 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.01295, allocations: 407.3 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.01325, allocations: 86.59 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.01339, allocations: 48.83 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.01344, allocations: 4 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.01347, allocations: 30.56 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.01347, allocations: 0 / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.01402, allocations: 173.4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.01408, allocations: 55.41 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.01421, allocations: 125.7 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01423, allocations: 25.7 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.01433, allocations: 115.8 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.01439, allocations: 43.69 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.01445, allocations: 25.72 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.01463, allocations: 322.8 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.01477, allocations: 39.97 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01494, allocations: 84.62 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.01525, allocations: 125 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01525, allocations: 4 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004298/0.01568, allocations: 165.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.01571, allocations: 11.92 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.01572, allocations: 4 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.01574, allocations: 0 / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.01599, allocations: 47.97 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/0.01651, allocations: 0.594 MB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01663, allocations: 15.88 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.01665, allocations: 8 kB / 383 MB, free: 13.04 MB / 362.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 0.0001267/0.01677, allocations: 125.7 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.01681, allocations: 7.953 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.01729, allocations: 170.1 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01729, allocations: 4 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.0173, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.0173, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.01755, allocations: 157.1 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01756, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.01777, allocations: 43.91 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.01778, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01779, allocations: 7.938 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004554/0.01825, allocations: 0.59 MB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01825, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.01905, allocations: 303.3 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.01909, allocations: 11.97 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01912, allocations: 8 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.01925, allocations: 7.984 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.01931, allocations: 20.08 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01932, allocations: 4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.01939, allocations: 91.58 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01939, allocations: 4 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.0198, allocations: 79.62 kB / 384.6 MB, free: 11.33 MB / 362.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.0004048/0.0202, allocations: 182.9 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.02062, allocations: 119.8 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02062, allocations: 0 / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.02085, allocations: 72.27 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.02118, allocations: 12 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.022, allocations: 285 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.02215, allocations: 101.1 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.15e-05/0.02223, allocations: 12.48 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.02228, allocations: 16.5 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02229, allocations: 4 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.007179/0.02946, allocations: 2.399 MB / 387.8 MB, free: 8.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9452594759641215]