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.0009614/0.0009615, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 100.5 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2892/0.2892, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002373, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3164, allocations: 63.24 MB / 0.5192 GB, free: 43.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4321, allocations: 92.29 MB / 0.6093 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4324, allocations: 103.7 kB / 0.6094 GB, free: 13.21 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.01056/0.4429, allocations: 3.674 MB / 0.613 GB, free: 9.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.443, allocations: 0 / 0.613 GB, free: 9.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.443, allocations: 7.938 kB / 0.613 GB, free: 9.551 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.0005041/0.4435, allocations: 407 kB / 0.6134 GB, free: 9.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4435, allocations: 8.031 kB / 0.6134 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.4438, allocations: 35.88 kB / 0.6135 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4441, allocations: 194.8 kB / 0.6136 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4441, allocations: 8 kB / 0.6137 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.4441, allocations: 11.98 kB / 0.6137 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.4445, allocations: 176.1 kB / 0.6138 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4445, allocations: 0 / 0.6138 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.4446, allocations: 7.938 kB / 0.6138 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.4446, allocations: 15.98 kB / 0.6139 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.4449, allocations: 140.3 kB / 0.614 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.4458, allocations: 0.6522 MB / 0.6146 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.4462, allocations: 118.6 kB / 0.6147 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4462, allocations: 0 / 0.6147 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4462, allocations: 30.56 kB / 0.6148 GB, free: 7.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.066e-06/0.4463, allocations: 7.938 kB / 0.6148 GB, free: 7.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004385/0.4467, allocations: 157.6 kB / 0.6149 GB, free: 7.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4467, allocations: 55.39 kB / 0.615 GB, free: 7.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.4468, allocations: 118.8 kB / 0.6151 GB, free: 7.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4469, allocations: 25.7 kB / 0.6151 GB, free: 7.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.4469, allocations: 120 kB / 0.6152 GB, free: 7.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.447, allocations: 27.64 kB / 0.6153 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.447, allocations: 0 / 0.6153 GB, free: 7.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.4471, allocations: 318.8 kB / 0.6156 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4472, allocations: 39.95 kB / 0.6156 GB, free: 6.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4474, allocations: 101.4 kB / 0.6157 GB, free: 6.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.4475, allocations: 63.84 kB / 0.6158 GB, free: 6.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4475, allocations: 0 / 0.6158 GB, free: 6.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003323/0.4478, allocations: 165.3 kB / 0.6159 GB, free: 6.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4479, allocations: 6.031 kB / 0.6159 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4479, allocations: 4 kB / 0.6159 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4479, allocations: 4 kB / 0.6159 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.4481, allocations: 43.91 kB / 0.616 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4481, allocations: 8.25 kB / 0.616 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4482, allocations: 23.83 kB / 0.616 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4482, allocations: 12 kB / 0.616 GB, free: 6.223 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 9.164e-05/0.4483, allocations: 129.7 kB / 0.6161 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4484, allocations: 7.906 kB / 0.6161 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4487, allocations: 141.9 kB / 0.6163 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4487, allocations: 4 kB / 0.6163 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4487, allocations: 0 / 0.6163 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4487, allocations: 0 / 0.6163 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.4489, allocations: 189.6 kB / 0.6165 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4489, allocations: 3.953 kB / 0.6165 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.4491, allocations: 35.97 kB / 0.6165 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4491, allocations: 0 / 0.6165 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4491, allocations: 0 / 0.6165 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4491, allocations: 0 / 0.6165 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4491, allocations: 0 / 0.6165 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.4494, allocations: 227.8 kB / 0.6167 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.4495, allocations: 88.97 kB / 0.6168 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4495, allocations: 4 kB / 0.6168 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4496, allocations: 11.94 kB / 0.6168 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.4497, allocations: 3.984 kB / 0.6168 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4497, allocations: 4 kB / 0.6168 GB, free: 5.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.4497, allocations: 96.39 kB / 0.6169 GB, free: 5.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4497, allocations: 3.938 kB / 0.6169 GB, free: 5.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.45, allocations: 27.94 kB / 0.617 GB, free: 5.168 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.0001495/0.4501, allocations: 119.2 kB / 0.6171 GB, free: 5.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.4504, allocations: 115.9 kB / 0.6172 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4505, allocations: 0 / 0.6172 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4506, allocations: 51.89 kB / 0.6172 GB, free: 4.875 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4507, allocations: 11.27 kB / 0.6172 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.4512, allocations: 293.2 kB / 0.6175 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.4514, allocations: 0.7199 MB / 0.6182 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.915e-05/0.4515, allocations: 24.52 kB / 0.6182 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4516, allocations: 15.44 kB / 0.6183 GB, free: 3.773 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4516, allocations: 4 kB / 0.6183 GB, free: 3.77 MB / 426.7 MB Notification: Performance of Templates: time 0.003183/0.4548, allocations: 1.065 MB / 0.6193 GB, free: 2.746 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/jenkins/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