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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|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=10000,variableFilter="time|frac_A1toA2|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008392/0.0008392, allocations: 89.36 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3411/0.3411, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.662e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4441, allocations: 92.92 MB / 0.5636 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4444, allocations: 98.66 kB / 0.5637 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01897/0.4633, allocations: 7.695 MB / 0.5712 GB, free: 6.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4634, allocations: 0 / 0.5712 GB, free: 6.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4634, allocations: 0 / 0.5712 GB, free: 6.031 MB / 394.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.0003779/0.4638, allocations: 448.6 kB / 0.5716 GB, free: 5.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4638, allocations: 12.03 kB / 0.5716 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4639, allocations: 11.17 kB / 0.5716 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.464, allocations: 178.9 kB / 0.5718 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.464, allocations: 11.38 kB / 0.5718 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.464, allocations: 15.16 kB / 0.5718 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4643, allocations: 122.3 kB / 0.5719 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4643, allocations: 4 kB / 0.5719 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4643, allocations: 9.109 kB / 0.572 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4643, allocations: 5.406 kB / 0.572 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.4645, allocations: 109.5 kB / 0.5721 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.4653, allocations: 0.5263 MB / 0.5726 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.4654, allocations: 88.69 kB / 0.5727 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.4655, allocations: 34.42 kB / 0.5727 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.4655, allocations: 3.562 kB / 0.5727 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.4656, allocations: 38.77 kB / 0.5727 GB, free: 4.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/0.4656, allocations: 0 / 0.5727 GB, free: 4.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002125/0.4658, allocations: 98.88 kB / 0.5728 GB, free: 4.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4658, allocations: 58.59 kB / 0.5729 GB, free: 4.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.4659, allocations: 105.5 kB / 0.573 GB, free: 4.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4659, allocations: 28.89 kB / 0.573 GB, free: 4.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.466, allocations: 111.1 kB / 0.5731 GB, free: 4.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.466, allocations: 45.38 kB / 0.5732 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.466, allocations: 0 / 0.5732 GB, free: 4.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.4661, allocations: 326 kB / 0.5735 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.4661, allocations: 29.69 kB / 0.5735 GB, free: 3.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.4662, allocations: 62.95 kB / 0.5736 GB, free: 3.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.4663, allocations: 41.8 kB / 0.5736 GB, free: 3.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4663, allocations: 0 / 0.5736 GB, free: 3.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001619/0.4664, allocations: 129.4 kB / 0.5737 GB, free: 3.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4665, allocations: 7.938 kB / 0.5737 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4665, allocations: 7.938 kB / 0.5737 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4665, allocations: 0 / 0.5737 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.4667, allocations: 47.5 kB / 0.5738 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/0.467, allocations: 0.5973 MB / 0.5744 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.4671, allocations: 11.91 kB / 0.5744 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4671, allocations: 11.48 kB / 0.5744 GB, free: 2.762 MB / 394.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.4671, allocations: 112.5 kB / 0.5745 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.4672, allocations: 12 kB / 0.5745 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4674, allocations: 142.4 kB / 0.5746 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4674, allocations: 4 kB / 0.5747 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4674, allocations: 0 / 0.5747 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4674, allocations: 11.94 kB / 0.5747 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.4676, allocations: 213.5 kB / 0.5749 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4676, allocations: 0 / 0.5749 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.4678, allocations: 50.66 kB / 0.5749 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4678, allocations: 0 / 0.5749 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4679, allocations: 4 kB / 0.5749 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001565/0.468, allocations: 0.5937 MB / 0.5755 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.468, allocations: 0 / 0.5755 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4682, allocations: 250.1 kB / 0.5757 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.4683, allocations: 100.2 kB / 0.5758 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.4683, allocations: 2.5 kB / 0.5758 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4684, allocations: 18.94 kB / 0.5759 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.4685, allocations: 8.141 kB / 0.5759 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.4685, allocations: 8 kB / 0.5759 GB, free: 1.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.4685, allocations: 86.59 kB / 0.576 GB, free: 1.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4685, allocations: 3.938 kB / 0.576 GB, free: 1.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.4689, allocations: 89.11 kB / 0.576 GB, free: 1.066 MB / 394.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/0.4692, allocations: 205.7 kB / 0.5762 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4694, allocations: 91.92 kB / 0.5763 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4694, allocations: 0 / 0.5763 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4695, allocations: 54.8 kB / 0.5764 GB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.4697, allocations: 11.73 kB / 0.5764 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.4701, allocations: 183.1 kB / 0.5766 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.4703, allocations: 0.712 MB / 0.5773 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.4704, allocations: 22.02 kB / 0.5773 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.4705, allocations: 15.44 kB / 0.5773 GB, free: 15.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4705, allocations: 0 / 0.5773 GB, free: 15.79 MB / 410.7 MB Notification: Performance of Templates: time 0.005357/0.4758, allocations: 2.358 MB / 0.5796 GB, free: 13.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches