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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.3 kB / 7.807 MB, free: 2.492 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.026/1.026, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0007693/0.0007693, allocations: 78.89 kB / 261.4 MB, free: 13.56 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.1525/0.1525, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.053e-06, allocations: 4 kB / 417.8 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09872/0.3094, allocations: 89.29 MB / 0.5526 GB, free: 9.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.3096, allocations: 103.9 kB / 0.5527 GB, free: 9.523 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: time 0.009041/0.3187, allocations: 3.158 MB / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3187, allocations: 4 kB / 0.5558 GB, free: 6.348 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.0003889/0.3191, allocations: 406 kB / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3191, allocations: 8.031 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.3194, allocations: 39.86 kB / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3196, allocations: 182.9 kB / 0.5564 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3196, allocations: 3.984 kB / 0.5564 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3196, allocations: 11.94 kB / 0.5564 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001822/0.3198, allocations: 99.94 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.32, allocations: 155 kB / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.32, allocations: 0 / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.32, allocations: 0 / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.32, allocations: 11.98 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.3208, allocations: 0.6177 MB / 0.5573 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.321, allocations: 94.64 kB / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.3211, allocations: 32.8 kB / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3211, allocations: 3.906 kB / 0.5574 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3211, allocations: 34.56 kB / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3211, allocations: 0 / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001656/0.3213, allocations: 77.58 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3213, allocations: 55.34 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.3214, allocations: 113.2 kB / 0.5577 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3214, allocations: 25.7 kB / 0.5577 GB, free: 4.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3215, allocations: 119.8 kB / 0.5578 GB, free: 4.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3215, allocations: 27.64 kB / 0.5578 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.3215, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3216, allocations: 318.8 kB / 0.5581 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.3216, allocations: 19.98 kB / 0.5582 GB, free: 3.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.3217, allocations: 79.38 kB / 0.5582 GB, free: 3.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.3218, allocations: 43.91 kB / 0.5583 GB, free: 3.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3218, allocations: 0 / 0.5583 GB, free: 3.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001682/0.3219, allocations: 121.8 kB / 0.5584 GB, free: 3.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.617e-06/0.3219, allocations: 8.062 kB / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.322, allocations: 4 kB / 0.5584 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.322, allocations: 7.938 kB / 0.5584 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3222, allocations: 43.91 kB / 0.5585 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3222, allocations: 4 kB / 0.5585 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3223, allocations: 23.83 kB / 0.5585 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3223, allocations: 8 kB / 0.5585 GB, free: 3.328 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 6.076e-05/0.3224, allocations: 114.2 kB / 0.5586 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3224, allocations: 7.906 kB / 0.5586 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.3226, allocations: 90.03 kB / 0.5587 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3226, allocations: 4 kB / 0.5587 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3226, allocations: 4 kB / 0.5587 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3226, allocations: 0 / 0.5587 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3227, allocations: 162.2 kB / 0.5589 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3227, allocations: 3.906 kB / 0.5589 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3229, allocations: 35.97 kB / 0.5589 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3229, allocations: 0 / 0.5589 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3229, allocations: 4 kB / 0.5589 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3229, allocations: 0 / 0.5589 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3229, allocations: 7.875 kB / 0.5589 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001386/0.3231, allocations: 183.4 kB / 0.5591 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3231, allocations: 81.02 kB / 0.5592 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3232, allocations: 3.984 kB / 0.5592 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3233, allocations: 12 kB / 0.5592 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3233, allocations: 7.984 kB / 0.5592 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3233, allocations: 0 / 0.5592 GB, free: 2.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.319e-05/0.3234, allocations: 95.69 kB / 0.5593 GB, free: 2.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.3236, allocations: 27.92 kB / 0.5593 GB, free: 2.418 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.0001124/0.3237, allocations: 119.2 kB / 0.5594 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.3239, allocations: 79.83 kB / 0.5595 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.3239, allocations: 0 / 0.5595 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.3239, allocations: 24 kB / 0.5595 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3241, allocations: 12.48 kB / 0.5595 GB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.3244, allocations: 147.7 kB / 0.5597 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3246, allocations: 0.7314 MB / 0.5604 GB, free: 1.258 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3246, allocations: 4 kB / 0.5604 GB, free: 1.254 MB / 394.7 MB Notification: Performance of Templates: time 0.002841/0.3275, allocations: 1.098 MB / 0.5615 GB, free: 168 kB / 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