Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007589/0.0007589, allocations: 82.64 kB / 261.7 MB, free: 1.621 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.1895/0.1895, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.049e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 58.84 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5366, allocations: 89.36 MB / 0.5532 GB, free: 6.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.537, allocations: 97.92 kB / 0.5533 GB, free: 6.008 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971: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 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976: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 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982: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 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987: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.009995/0.547, allocations: 3.481 MB / 0.5567 GB, free: 3.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.547, allocations: 0 / 0.5567 GB, free: 3.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.547, allocations: 0 / 0.5567 GB, free: 3.059 MB / 362.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.0004896/0.5475, allocations: 392.9 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5476, allocations: 8.031 kB / 0.5571 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.548, allocations: 39.11 kB / 0.5571 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.5482, allocations: 190.1 kB / 0.5573 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.5482, allocations: 4 kB / 0.5573 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5482, allocations: 4 kB / 0.5573 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002473/0.5485, allocations: 92.08 kB / 0.5574 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.5488, allocations: 147.6 kB / 0.5575 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5488, allocations: 0 / 0.5575 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.5488, allocations: 0 / 0.5575 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.5489, allocations: 11.94 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.5498, allocations: 0.6229 MB / 0.5582 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.5501, allocations: 93.48 kB / 0.5582 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.5502, allocations: 27.53 kB / 0.5583 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5502, allocations: 3.984 kB / 0.5583 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5503, allocations: 30.56 kB / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5503, allocations: 0 / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002447/0.5505, allocations: 85.33 kB / 0.5584 GB, free: 1.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.5506, allocations: 51.41 kB / 0.5584 GB, free: 1.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.5507, allocations: 112.3 kB / 0.5585 GB, free: 1.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.5507, allocations: 25.7 kB / 0.5586 GB, free: 1.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.5507, allocations: 126.4 kB / 0.5587 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.5508, allocations: 23.64 kB / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.5508, allocations: 0 / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.5509, allocations: 314.5 kB / 0.559 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.5509, allocations: 29.98 kB / 0.559 GB, free: 0.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.551, allocations: 75.19 kB / 0.5591 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.681e-05/0.5511, allocations: 35.44 kB / 0.5591 GB, free: 472 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5511, allocations: 0 / 0.5591 GB, free: 472 kB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002432/0.5514, allocations: 131.4 kB / 0.5593 GB, free: 348 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5514, allocations: 7.984 kB / 0.5593 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5514, allocations: 4 kB / 0.5593 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5515, allocations: 4.25 kB / 0.5593 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.5517, allocations: 43.92 kB / 0.5593 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5517, allocations: 3.984 kB / 0.5593 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.5519, allocations: 20.72 kB / 0.5594 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5519, allocations: 4 kB / 0.5594 GB, free: 260 kB / 362.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 () * 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 6.431e-05/0.552, allocations: 112 kB / 0.5595 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.552, allocations: 15.8 kB / 0.5595 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.5523, allocations: 91.39 kB / 0.5596 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5523, allocations: 0 / 0.5596 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5523, allocations: 0 / 0.5596 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5523, allocations: 4 kB / 0.5596 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.5526, allocations: 160.3 kB / 0.5597 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5526, allocations: 4 kB / 0.5597 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.5529, allocations: 39.86 kB / 0.5598 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5529, allocations: 0 / 0.5598 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5529, allocations: 11.94 kB / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5529, allocations: 0 / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5529, allocations: 0 / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5532, allocations: 179.9 kB / 0.5599 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.5532, allocations: 81.02 kB / 0.56 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.5533, allocations: 0 / 0.56 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5534, allocations: 19.94 kB / 0.56 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.5535, allocations: 7.984 kB / 0.5601 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5535, allocations: 3.938 kB / 0.5601 GB, free: 15.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.5536, allocations: 91.66 kB / 0.5601 GB, free: 15.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5536, allocations: 0 / 0.5601 GB, free: 15.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.5541, allocations: 23.94 kB / 0.5602 GB, free: 15.39 MB / 378.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 (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.0002032/0.5543, allocations: 123.2 kB / 0.5603 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.5545, allocations: 65.16 kB / 0.5603 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5545, allocations: 0 / 0.5603 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.5546, allocations: 31.05 kB / 0.5604 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5548, allocations: 7.938 kB / 0.5604 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.5553, allocations: 131.5 kB / 0.5605 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.5557, allocations: 0.7236 MB / 0.5612 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.5558, allocations: 28.52 kB / 0.5612 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.5559, allocations: 11.44 kB / 0.5613 GB, free: 14.24 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5559, allocations: 4 kB / 0.5613 GB, free: 14.24 MB / 378.7 MB Notification: Performance of Templates: time 0.004473/0.5604, allocations: 0.9422 MB / 0.5622 GB, free: 13.32 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches