Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008452, allocations: 96.75 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4052/0.4052, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002981, allocations: 12 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3484, allocations: 62.96 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4766, allocations: 92.15 MB / 0.6084 GB, free: 13.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4769, allocations: 99.92 kB / 0.6085 GB, free: 13.04 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.4873, allocations: 3.679 MB / 0.6121 GB, free: 9.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.4874, allocations: 4 kB / 0.6121 GB, free: 9.332 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4874, allocations: 0 / 0.6121 GB, free: 9.332 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000514/0.4879, allocations: 403.1 kB / 0.6125 GB, free: 8.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.488, allocations: 8.031 kB / 0.6125 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.4883, allocations: 36.81 kB / 0.6126 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4885, allocations: 196.1 kB / 0.6127 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4885, allocations: 12.36 kB / 0.6128 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4885, allocations: 12.38 kB / 0.6128 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.4889, allocations: 172.7 kB / 0.6129 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.489, allocations: 192 / 0.6129 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.489, allocations: 7.938 kB / 0.6129 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.489, allocations: 15.98 kB / 0.613 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.4893, allocations: 144.2 kB / 0.6131 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.4904, allocations: 0.6444 MB / 0.6137 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.4907, allocations: 126.6 kB / 0.6138 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4909, allocations: 44.83 kB / 0.6139 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4909, allocations: 4 kB / 0.6139 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.491, allocations: 34.5 kB / 0.6139 GB, free: 7.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.296e-06/0.491, allocations: 3.938 kB / 0.6139 GB, free: 7.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005501/0.4915, allocations: 149.5 kB / 0.6141 GB, free: 7.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4916, allocations: 63.33 kB / 0.6141 GB, free: 7.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.4917, allocations: 126 kB / 0.6143 GB, free: 6.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4918, allocations: 25.7 kB / 0.6143 GB, free: 6.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.4918, allocations: 112 kB / 0.6144 GB, free: 6.785 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4919, allocations: 31.55 kB / 0.6144 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.4919, allocations: 0 / 0.6144 GB, free: 6.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4921, allocations: 326.8 kB / 0.6147 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4922, allocations: 39.97 kB / 0.6148 GB, free: 6.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4924, allocations: 99.69 kB / 0.6149 GB, free: 6.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.4926, allocations: 156.7 kB / 0.615 GB, free: 6.082 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4927, allocations: 0 / 0.615 GB, free: 6.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003187/0.493, allocations: 165.4 kB / 0.6152 GB, free: 5.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.493, allocations: 15.42 kB / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.493, allocations: 0 / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4931, allocations: 8.25 kB / 0.6152 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4932, allocations: 39.92 kB / 0.6152 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4933, allocations: 7.984 kB / 0.6152 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4934, allocations: 19.84 kB / 0.6153 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4934, allocations: 8 kB / 0.6153 GB, free: 5.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.4935, allocations: 133.7 kB / 0.6154 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.4935, allocations: 11.84 kB / 0.6154 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.4939, allocations: 130 kB / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.4939, allocations: 0 / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4939, allocations: 4 kB / 0.6155 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4939, allocations: 0 / 0.6155 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4942, allocations: 201.6 kB / 0.6157 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4942, allocations: 0 / 0.6157 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4943, allocations: 35.86 kB / 0.6158 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4943, allocations: 4 kB / 0.6158 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4943, allocations: 0 / 0.6158 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4943, allocations: 4 kB / 0.6158 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4944, allocations: 0 / 0.6158 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.4947, allocations: 215.9 kB / 0.616 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.4948, allocations: 88.95 kB / 0.6161 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4948, allocations: 4 kB / 0.6161 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.4949, allocations: 19.92 kB / 0.6161 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.4949, allocations: 0 / 0.6161 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.495, allocations: 7.984 kB / 0.6161 GB, free: 4.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.73e-05/0.495, allocations: 91.27 kB / 0.6162 GB, free: 4.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.495, allocations: 3.938 kB / 0.6162 GB, free: 4.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.4953, allocations: 31.94 kB / 0.6162 GB, free: 4.754 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.4956, allocations: 129.5 kB / 0.6163 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.4959, allocations: 103.9 kB / 0.6164 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4959, allocations: 0 / 0.6164 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4961, allocations: 52.41 kB / 0.6165 GB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4963, allocations: 15.06 kB / 0.6165 GB, free: 4.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.4969, allocations: 305 kB / 0.6168 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4973, allocations: 0.713 MB / 0.6175 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.4974, allocations: 32.52 kB / 0.6175 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.4974, allocations: 11.44 kB / 0.6175 GB, free: 3.348 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4974, allocations: 0 / 0.6175 GB, free: 3.348 MB / 426.7 MB Notification: Performance of Templates: time 0.003912/0.5014, allocations: 1.062 MB / 0.6186 GB, free: 2.32 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches