Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002317/0.002317, allocations: 171.5 kB / 8.146 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 93.61 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.284/0.284, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/9.277e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 58.83 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.435, allocations: 89.29 MB / 0.5526 GB, free: 9.789 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/0.4355, allocations: 99.92 kB / 0.5527 GB, free: 9.691 MB / 394.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.01619/0.4517, allocations: 3.181 MB / 0.5558 GB, free: 6.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4517, allocations: 0 / 0.5558 GB, free: 6.496 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.0006905/0.4524, allocations: 394.1 kB / 0.5562 GB, free: 6.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4525, allocations: 12.03 kB / 0.5562 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.4529, allocations: 39.86 kB / 0.5562 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4532, allocations: 190.8 kB / 0.5564 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4532, allocations: 4 kB / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4532, allocations: 4 kB / 0.5564 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003139/0.4536, allocations: 95.95 kB / 0.5565 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.4539, allocations: 151 kB / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.454, allocations: 0 / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.454, allocations: 0 / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.454, allocations: 15.92 kB / 0.5567 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.4553, allocations: 0.6216 MB / 0.5573 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4557, allocations: 94.7 kB / 0.5574 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.4558, allocations: 24.8 kB / 0.5574 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4558, allocations: 3.906 kB / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4558, allocations: 38.56 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.4558, allocations: 3.938 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003124/0.4562, allocations: 85.66 kB / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4562, allocations: 55.41 kB / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4564, allocations: 111.5 kB / 0.5577 GB, free: 4.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4564, allocations: 25.7 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4565, allocations: 190.2 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4566, allocations: 27.64 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.4566, allocations: 0 / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4567, allocations: 314.8 kB / 0.5582 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.4568, allocations: 23.98 kB / 0.5582 GB, free: 3.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4569, allocations: 79.72 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.457, allocations: 39.91 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4571, allocations: 0 / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002963/0.4574, allocations: 117.4 kB / 0.5584 GB, free: 3.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4574, allocations: 4 kB / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4574, allocations: 4 kB / 0.5585 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4574, allocations: 4.25 kB / 0.5585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.4578, allocations: 51.91 kB / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4578, allocations: 4 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.458, allocations: 11.91 kB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.458, allocations: 11.98 kB / 0.5585 GB, free: 3.43 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.468e-05/0.4581, allocations: 42.98 kB / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.4582, allocations: 7.906 kB / 0.5586 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4584, allocations: 86.03 kB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4585, allocations: 0 / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4585, allocations: 4 kB / 0.5587 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4585, allocations: 0 / 0.5587 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.4587, allocations: 178.1 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4588, allocations: 0 / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4591, allocations: 35.91 kB / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4591, allocations: 0 / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4591, allocations: 0 / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4591, allocations: 3.906 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4591, allocations: 0 / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002477/0.4594, allocations: 183.4 kB / 0.559 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.4594, allocations: 84.95 kB / 0.5591 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4595, allocations: 7.922 kB / 0.5591 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4597, allocations: 8 kB / 0.5591 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4597, allocations: 11.92 kB / 0.5592 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4598, allocations: 4 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.279e-05/0.4598, allocations: 91.28 kB / 0.5592 GB, free: 2.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.4602, allocations: 27.89 kB / 0.5593 GB, free: 2.586 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.0002434/0.4604, allocations: 119.2 kB / 0.5594 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.4607, allocations: 71.84 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4607, allocations: 0.5 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.4608, allocations: 32 kB / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.461, allocations: 7.859 kB / 0.5595 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4615, allocations: 166.2 kB / 0.5597 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.462, allocations: 0.727 MB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.462, allocations: 0 / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of Templates: time 0.004352/0.4664, allocations: 1.493 MB / 0.5618 GB, free: 15.92 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches