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.0009655/0.0009655, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001051/0.001051, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2892/0.2892, allocations: 32.81 MB / 294.6 MB, free: 1.238 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 3.115e-06/3.115e-06, allocations: 4 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.809e-05, allocations: 2.312 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003024/0.003052, allocations: 1.868 MB / 378.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.004555, allocations: 1.344 MB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.004621, allocations: 0 / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.004807, allocations: 43.81 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.004938, allocations: 51.52 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.005403, allocations: 247 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.005515, allocations: 115.3 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.005546, allocations: 5.312 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.00572, allocations: 75.67 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.005778, allocations: 35.84 kB / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.005791, allocations: 7.984 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.006159, allocations: 319.3 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.006179, allocations: 11.92 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.006216, allocations: 35.84 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.00659, allocations: 322.9 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006592, allocations: 8 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006593, allocations: 0 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.006596, allocations: 0 / 381 MB, free: 15.89 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003905/0.006987, allocations: 471.7 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.007022, allocations: 12.03 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.007063, allocations: 20.84 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.007139, allocations: 120.5 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.007152, allocations: 8.375 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.007179, allocations: 12.38 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.007332, allocations: 115.4 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007341, allocations: 11.92 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.007356, allocations: 8 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007361, allocations: 0 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.007424, allocations: 55.89 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.007945, allocations: 423.1 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.008059, allocations: 79.14 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.008088, allocations: 23.67 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.008114, allocations: 15.94 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.008135, allocations: 41.33 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.008137, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001705/0.008307, allocations: 105.5 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.008331, allocations: 55.41 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.008404, allocations: 173.9 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.008417, allocations: 29.7 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.008475, allocations: 162.5 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.008498, allocations: 39.67 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.008537, allocations: 39.34 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.008649, allocations: 0.4884 MB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.008674, allocations: 19.92 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.008726, allocations: 81.75 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.535e-05/0.008811, allocations: 106 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.008813, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001298/0.008942, allocations: 121.9 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.008954, allocations: 4 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008959, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008971, allocations: 7.938 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.009098, allocations: 47.91 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002823/0.009381, allocations: 0.8972 MB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.009432, allocations: 11.89 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.009443, allocations: 11.98 kB / 384.7 MB, free: 11.84 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 7.613e-05/0.009519, allocations: 172.7 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.009539, allocations: 7.953 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.009708, allocations: 126.3 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.009711, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009712, allocations: 3.938 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.009717, allocations: 7.969 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.00986, allocations: 137.1 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.009862, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.009954, allocations: 35.98 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.009957, allocations: 7.938 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.009969, allocations: 7.984 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002464/0.01022, allocations: 0.8893 MB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01022, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01039, allocations: 279.2 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.01042, allocations: 15.88 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.01044, allocations: 12.09 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.01049, allocations: 3.984 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.01052, allocations: 11.98 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01052, allocations: 4 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.01056, allocations: 131.2 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 3.938 kB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01081, allocations: 83.62 kB / 386.7 MB, free: 9.824 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.000225/0.01103, allocations: 183 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.01121, allocations: 87.52 kB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01121, allocations: 320 / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.01128, allocations: 55.59 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.01146, allocations: 20 kB / 387 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.01205, allocations: 302.4 kB / 387.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.01208, allocations: 67.28 kB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.224e-05/0.01214, allocations: 20.48 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.01221, allocations: 86.19 kB / 387.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01221, allocations: 0 / 387.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of Templates: time 0.00414/0.01635, allocations: 2.728 MB / 390.2 MB, free: 6.27 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",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.3340745391324162]