Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002303/0.002303, allocations: 209.6 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.94 MB / 362.1 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 83.86 kB / 0.4978 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3312, allocations: 66.08 MB / 0.5624 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003209/0.3344, allocations: 1.827 MB / 0.5641 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3367, allocations: 1.415 MB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.3367, allocations: 4 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.337, allocations: 43.77 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3371, allocations: 47.62 kB / 0.5656 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.3377, allocations: 254.6 kB / 0.5659 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3379, allocations: 111.4 kB / 0.566 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.3379, allocations: 9.297 kB / 0.566 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3381, allocations: 51.73 kB / 0.566 GB, free: 460 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.3382, allocations: 55.69 kB / 0.5661 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3382, allocations: 4 kB / 0.5661 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.3388, allocations: 327.4 kB / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.3388, allocations: 15.86 kB / 0.5664 GB, free: 56 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.3389, allocations: 47.73 kB / 0.5664 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.3394, allocations: 317.5 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3394, allocations: 4 kB / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3394, allocations: 0 / 0.5668 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3394, allocations: 0 / 0.5668 GB, free: 15.7 MB / 414.1 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.0005957/0.34, allocations: 377.3 kB / 0.5671 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.34, allocations: 8.031 kB / 0.5671 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.3401, allocations: 8.891 kB / 0.5671 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3402, allocations: 130.4 kB / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3402, allocations: 8.375 kB / 0.5673 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3402, allocations: 16.12 kB / 0.5673 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.3406, allocations: 141.6 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3406, allocations: 0 / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3406, allocations: 8 kB / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3406, allocations: 0 / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.3409, allocations: 139.9 kB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3419, allocations: 493.9 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3422, allocations: 94.59 kB / 0.5681 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3424, allocations: 48.83 kB / 0.5682 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3424, allocations: 3.984 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3424, allocations: 34.56 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3424, allocations: 0 / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005286/0.343, allocations: 165.4 kB / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.343, allocations: 55.34 kB / 0.5684 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3431, allocations: 121.8 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3432, allocations: 25.7 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3433, allocations: 123.6 kB / 0.5687 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3433, allocations: 39.69 kB / 0.5687 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.3434, allocations: 29.7 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3436, allocations: 318.8 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3437, allocations: 35.97 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3438, allocations: 92 kB / 0.5692 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.3441, allocations: 137.4 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3441, allocations: 4 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003597/0.3445, allocations: 157.3 kB / 0.5694 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3445, allocations: 8.156 kB / 0.5695 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3445, allocations: 4 kB / 0.5695 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3445, allocations: 4 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3447, allocations: 47.91 kB / 0.5695 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004086/0.3452, allocations: 0.5899 MB / 0.5701 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3453, allocations: 15.98 kB / 0.5701 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3453, allocations: 4 kB / 0.5701 GB, free: 12 MB / 414.1 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.0001049/0.3454, allocations: 129.8 kB / 0.5702 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3454, allocations: 7.953 kB / 0.5702 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.3458, allocations: 178.1 kB / 0.5704 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3458, allocations: 4 kB / 0.5704 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3458, allocations: 3.938 kB / 0.5704 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3459, allocations: 0 / 0.5704 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3461, allocations: 184.7 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3461, allocations: 0 / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3463, allocations: 43.91 kB / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3463, allocations: 0 / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3463, allocations: 4 kB / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003577/0.3467, allocations: 0.5898 MB / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3467, allocations: 0 / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.3472, allocations: 295.4 kB / 0.5715 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3472, allocations: 19.81 kB / 0.5715 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3472, allocations: 4.156 kB / 0.5715 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3474, allocations: 11.98 kB / 0.5715 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.3474, allocations: 11.98 kB / 0.5715 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3474, allocations: 11.98 kB / 0.5715 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.246e-05/0.3475, allocations: 83.28 kB / 0.5716 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3475, allocations: 288 / 0.5716 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3479, allocations: 87.62 kB / 0.5717 GB, free: 10.26 MB / 414.1 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.0003596/0.3482, allocations: 174.9 kB / 0.5719 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.3487, allocations: 124 kB / 0.572 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3487, allocations: 0 / 0.572 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3489, allocations: 63.95 kB / 0.5721 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3492, allocations: 12.81 kB / 0.5721 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.3499, allocations: 304.6 kB / 0.5724 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3503, allocations: 0.7078 MB / 0.573 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.355e-05/0.3504, allocations: 24.41 kB / 0.5731 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.3504, allocations: 15.44 kB / 0.5731 GB, free: 8.789 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3504, allocations: 0 / 0.5731 GB, free: 8.789 MB / 414.1 MB Notification: Performance of Templates: time 0.00623/0.3566, allocations: 2.455 MB / 0.5755 GB, free: 6.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.077770734904334]