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.001394/0.001394, allocations: 183 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.296/1.296, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0007824/0.0007825, allocations: 88.45 kB / 267 MB, free: 9.27 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.3483/0.3483, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.492e-05, allocations: 4 kB / 425.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 58.85 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.5045, allocations: 90.01 MB / 0.5607 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5048, allocations: 94.42 kB / 0.5608 GB, free: 14.81 MB / 394.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.009356/0.5142, allocations: 3.513 MB / 0.5643 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5142, allocations: 0 / 0.5643 GB, free: 12.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5143, allocations: 4 kB / 0.5643 GB, free: 12.5 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004287/0.5147, allocations: 401.2 kB / 0.5646 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5148, allocations: 8.031 kB / 0.5647 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.515, allocations: 45.64 kB / 0.5647 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.5152, allocations: 186.8 kB / 0.5649 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.5152, allocations: 6.875 kB / 0.5649 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.5152, allocations: 7.875 kB / 0.5649 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5155, allocations: 159.1 kB / 0.565 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5155, allocations: 3.938 kB / 0.565 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.5156, allocations: 11.23 kB / 0.5651 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.5156, allocations: 17.34 kB / 0.5651 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.5158, allocations: 106.3 kB / 0.5652 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.5165, allocations: 0.6477 MB / 0.5658 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.5168, allocations: 97.67 kB / 0.5659 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.5168, allocations: 35.72 kB / 0.5659 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5168, allocations: 0 / 0.5659 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.5169, allocations: 30.56 kB / 0.566 GB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.5169, allocations: 0 / 0.566 GB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001793/0.517, allocations: 83.52 kB / 0.566 GB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.5171, allocations: 51.41 kB / 0.5661 GB, free: 10.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.5171, allocations: 113.6 kB / 0.5662 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.5172, allocations: 28.39 kB / 0.5662 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.5172, allocations: 134 kB / 0.5664 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.5172, allocations: 26.95 kB / 0.5664 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.5172, allocations: 0 / 0.5664 GB, free: 10.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.5173, allocations: 321.9 kB / 0.5667 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.5173, allocations: 22.42 kB / 0.5667 GB, free: 9.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.5174, allocations: 85.66 kB / 0.5668 GB, free: 9.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.5175, allocations: 38.09 kB / 0.5668 GB, free: 9.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5175, allocations: 0 / 0.5668 GB, free: 9.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001574/0.5176, allocations: 133.9 kB / 0.567 GB, free: 9.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5177, allocations: 8 kB / 0.567 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5177, allocations: 0 / 0.567 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5177, allocations: 4 kB / 0.567 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5179, allocations: 44.16 kB / 0.567 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.5179, allocations: 8 kB / 0.567 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.518, allocations: 23.33 kB / 0.567 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.518, allocations: 8.703 kB / 0.567 GB, free: 9.602 MB / 394.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 4.771e-05/0.5181, allocations: 108.2 kB / 0.5672 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.5181, allocations: 4 kB / 0.5672 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.5183, allocations: 103.4 kB / 0.5673 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5183, allocations: 5.312 kB / 0.5673 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5183, allocations: 0 / 0.5673 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5183, allocations: 5 kB / 0.5673 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.5184, allocations: 205.3 kB / 0.5675 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5185, allocations: 0 / 0.5675 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.5186, allocations: 27.98 kB / 0.5675 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5186, allocations: 0 / 0.5675 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5186, allocations: 3.984 kB / 0.5675 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5186, allocations: 8 kB / 0.5675 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5186, allocations: 0.5625 kB / 0.5675 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.5188, allocations: 181.6 kB / 0.5677 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.5188, allocations: 92.06 kB / 0.5678 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.5188, allocations: 0 / 0.5678 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.5189, allocations: 13.8 kB / 0.5678 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.519, allocations: 7.922 kB / 0.5678 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.519, allocations: 10.81 kB / 0.5678 GB, free: 8.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.781e-05/0.519, allocations: 89.22 kB / 0.5679 GB, free: 8.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5191, allocations: 4 kB / 0.5679 GB, free: 8.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.5193, allocations: 27.28 kB / 0.5679 GB, free: 8.695 MB / 394.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.000145/0.5194, allocations: 123.4 kB / 0.568 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5196, allocations: 73.67 kB / 0.5681 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5196, allocations: 4.062 kB / 0.5681 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.5196, allocations: 34.86 kB / 0.5681 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.5198, allocations: 9.516 kB / 0.5681 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.5201, allocations: 133.5 kB / 0.5683 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.5202, allocations: 0.716 MB / 0.569 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.5203, allocations: 28.47 kB / 0.569 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.5204, allocations: 15.44 kB / 0.569 GB, free: 7.551 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5204, allocations: 0 / 0.569 GB, free: 7.551 MB / 394.7 MB Notification: Performance of Templates: time 0.003041/0.5234, allocations: 1.122 MB / 0.5701 GB, free: 6.469 MB / 394.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