Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 198.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000723/0.000723, allocations: 91.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.626e-05, allocations: 0 / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 63.24 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.5129, allocations: 104 MB / 0.606 GB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5132, allocations: 94.25 kB / 0.6061 GB, free: 14.53 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6010:11-6013:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6024:11-6027:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05068/0.5639, allocations: 17.98 MB / 0.6236 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5639, allocations: 0 / 0.6236 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5639, allocations: 4 kB / 0.6236 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001166/0.5651, allocations: 0.6356 MB / 0.6242 GB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5651, allocations: 8.031 kB / 0.6242 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.5652, allocations: 35.58 kB / 0.6243 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5655, allocations: 237 kB / 0.6245 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5656, allocations: 12 kB / 0.6245 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.5656, allocations: 16 kB / 0.6245 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000512/0.5661, allocations: 400.5 kB / 0.6249 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.5666, allocations: 397.6 kB / 0.6253 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5667, allocations: 4 kB / 0.6253 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.5667, allocations: 0 / 0.6253 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.5668, allocations: 44.27 kB / 0.6253 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.5685, allocations: 1.282 MB / 0.6266 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.5689, allocations: 251.8 kB / 0.6268 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.569, allocations: 76.08 kB / 0.6269 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.5691, allocations: 11.25 kB / 0.6269 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5691, allocations: 30.56 kB / 0.6269 GB, free: 12.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.5691, allocations: 3.938 kB / 0.6269 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003705/0.5695, allocations: 209.8 kB / 0.6271 GB, free: 11.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5695, allocations: 55.41 kB / 0.6272 GB, free: 11.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.5696, allocations: 126.1 kB / 0.6273 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.5697, allocations: 33.69 kB / 0.6273 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.5698, allocations: 186.2 kB / 0.6275 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.5698, allocations: 83.44 kB / 0.6276 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5699, allocations: 0 / 0.6276 GB, free: 11.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.57, allocations: 325.1 kB / 0.6279 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.5701, allocations: 74.2 kB / 0.628 GB, free: 11.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.5702, allocations: 155.2 kB / 0.6281 GB, free: 10.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5704, allocations: 94.42 kB / 0.6282 GB, free: 10.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5704, allocations: 4 kB / 0.6282 GB, free: 10.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003819/0.5708, allocations: 271.2 kB / 0.6285 GB, free: 10.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5708, allocations: 8.031 kB / 0.6285 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5708, allocations: 4 kB / 0.6285 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5708, allocations: 4 kB / 0.6285 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.5714, allocations: 135.2 kB / 0.6286 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.5726, allocations: 2.361 MB / 0.6309 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.5728, allocations: 39.95 kB / 0.631 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5728, allocations: 19.05 kB / 0.631 GB, free: 7.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.5729, allocations: 112.9 kB / 0.6311 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.573, allocations: 15.75 kB / 0.6311 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.5736, allocations: 319.5 kB / 0.6314 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5736, allocations: 4 kB / 0.6314 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5736, allocations: 0 / 0.6314 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5736, allocations: 3.984 kB / 0.6314 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.5739, allocations: 267.8 kB / 0.6317 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5739, allocations: 0 / 0.6317 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.5744, allocations: 123.2 kB / 0.6318 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5744, allocations: 4 kB / 0.6318 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5744, allocations: 0 / 0.6318 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.5756, allocations: 2.361 MB / 0.6341 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5756, allocations: 7.922 kB / 0.6341 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.576, allocations: 338.3 kB / 0.6344 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.576, allocations: 92.95 kB / 0.6345 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.5761, allocations: 3.984 kB / 0.6345 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5762, allocations: 4 kB / 0.6345 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.5763, allocations: 23.78 kB / 0.6346 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.5763, allocations: 11.98 kB / 0.6346 GB, free: 4.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.386e-05/0.5764, allocations: 107.4 kB / 0.6347 GB, free: 4.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5764, allocations: 4 kB / 0.6347 GB, free: 4.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008004/0.5772, allocations: 266.2 kB / 0.6349 GB, free: 3.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008299/0.578, allocations: 399.7 kB / 0.6353 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.5785, allocations: 248.4 kB / 0.6355 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5785, allocations: 0 / 0.6355 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.5788, allocations: 140.7 kB / 0.6357 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.579, allocations: 4 kB / 0.6357 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.5797, allocations: 378.8 kB / 0.636 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.58, allocations: 0.8132 MB / 0.6368 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.5804, allocations: 97.86 kB / 0.6369 GB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.5804, allocations: 27.42 kB / 0.637 GB, free: 1.852 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5804, allocations: 0 / 0.637 GB, free: 1.852 MB / 426.7 MB Notification: Performance of Templates: time 0.009518/0.59, allocations: 5.577 MB / 0.6424 GB, free: 12.31 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches