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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.2 MB / 256.8 MB, free: 8.617 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.88 MB / 359.9 MB, free: 5 MB / 286.1 MB [Timeout remaining time 90] 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.002631/0.002631, allocations: 83.84 kB / 0.495 GB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3247, allocations: 65.97 MB / 0.5594 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003414/0.3281, allocations: 1.823 MB / 0.5612 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3304, allocations: 1.399 MB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.3305, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3308, allocations: 43.75 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.331, allocations: 63.5 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.3315, allocations: 254.8 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3317, allocations: 107.4 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3317, allocations: 5.062 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.3319, allocations: 51.8 kB / 0.5631 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.332, allocations: 55.69 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3321, allocations: 4 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.3329, allocations: 0.5068 MB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.3329, allocations: 15.91 kB / 0.5636 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.333, allocations: 47.67 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3335, allocations: 357.2 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3335, allocations: 0 / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3335, allocations: 0 / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3335, allocations: 0 / 0.564 GB, free: 456 kB / 398.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.000667/0.3342, allocations: 462.4 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3342, allocations: 8.031 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.3343, allocations: 12.89 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3344, allocations: 176.3 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3345, allocations: 4.375 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.3345, allocations: 16.12 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.3348, allocations: 145.5 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3348, allocations: 4 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3349, allocations: 8 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3349, allocations: 0 / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.3352, allocations: 131.9 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.3361, allocations: 0.5145 MB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3364, allocations: 102.5 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3366, allocations: 44.81 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.3366, allocations: 8 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3366, allocations: 30.56 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 3.026e-06/0.3366, allocations: 4 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005065/0.3371, allocations: 161.5 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3372, allocations: 51.41 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3373, allocations: 125.7 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3373, allocations: 25.7 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3374, allocations: 119.7 kB / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.3374, allocations: 39.69 kB / 0.5661 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.3375, allocations: 37.7 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3376, allocations: 318.8 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3377, allocations: 39.95 kB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3379, allocations: 81.06 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.3382, allocations: 129 kB / 0.5667 GB, free: 13.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3382, allocations: 3.938 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003604/0.3385, allocations: 161.5 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3386, allocations: 7.938 kB / 0.5669 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3386, allocations: 4 kB / 0.5669 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3386, allocations: 4 kB / 0.5669 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3388, allocations: 47.95 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/0.3392, allocations: 0.5977 MB / 0.5675 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3393, allocations: 16.02 kB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3393, allocations: 4 kB / 0.5675 GB, free: 12.55 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.0001003/0.3394, allocations: 113.8 kB / 0.5676 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.3395, allocations: 7.953 kB / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3399, allocations: 186.2 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3399, allocations: 0 / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3399, allocations: 3.938 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3399, allocations: 0 / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.3402, allocations: 213.6 kB / 0.568 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3402, allocations: 0 / 0.568 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3404, allocations: 43.97 kB / 0.5681 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3404, allocations: 3.938 kB / 0.5681 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3404, allocations: 8 kB / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003468/0.3408, allocations: 0.5898 MB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3408, allocations: 0 / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.3413, allocations: 294.6 kB / 0.5689 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.3414, allocations: 104.9 kB / 0.569 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3414, allocations: 0 / 0.569 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3415, allocations: 4 kB / 0.569 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.3416, allocations: 11.98 kB / 0.5691 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3416, allocations: 4 kB / 0.5691 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.3416, allocations: 95.27 kB / 0.5692 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3416, allocations: 4 kB / 0.5692 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.342, allocations: 79.67 kB / 0.5692 GB, free: 10.68 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.0003337/0.3424, allocations: 174.9 kB / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.3428, allocations: 119.9 kB / 0.5695 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3428, allocations: 4.281 kB / 0.5695 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.343, allocations: 63.89 kB / 0.5696 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3433, allocations: 16.25 kB / 0.5696 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.3441, allocations: 337.2 kB / 0.5699 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3444, allocations: 0.7117 MB / 0.5706 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.3445, allocations: 23.42 kB / 0.5706 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3445, allocations: 0 / 0.5706 GB, free: 9.18 MB / 414.1 MB Notification: Performance of Templates: time 0.005304/0.3498, allocations: 2.6 MB / 0.5732 GB, free: 6.586 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 -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