Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 202.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.304/0.304, allocations: 43.49 MB / 313.5 MB, free: 8.262 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09326, allocations: 57.78 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003234/0.09653, allocations: 2.073 MB / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.09791, allocations: 0.9395 MB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.098, allocations: 0 / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.09828, allocations: 51.72 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.09859, allocations: 111.5 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.0988, allocations: 83.72 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.09923, allocations: 0.5097 MB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.09931, allocations: 52.64 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.09948, allocations: 135.2 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.0997, allocations: 183.1 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.09974, allocations: 8 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.09999, allocations: 151.7 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1001, allocations: 95.52 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1002, allocations: 154.9 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1007, allocations: 418.6 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1007, allocations: 4 kB / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1007, allocations: 0 / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1007, allocations: 4 kB / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008993/0.1016, allocations: 0.6552 MB / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1016, allocations: 8.031 kB / 445.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/0.1017, allocations: 82.7 kB / 445.6 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.1018, allocations: 44.47 kB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1021, allocations: 279.5 kB / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1021, allocations: 37.36 kB / 446 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.1022, allocations: 36.36 kB / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.103, allocations: 0.5531 MB / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1031, allocations: 0 / 446.6 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1031, allocations: 19.98 kB / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.1032, allocations: 36.97 kB / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.104, allocations: 0.5737 MB / 447.2 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1056, allocations: 1.179 MB / 448.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.1062, allocations: 378.2 kB / 448.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.1064, allocations: 136.9 kB / 448.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1065, allocations: 7.984 kB / 448.9 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1065, allocations: 42.55 kB / 448.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.1065, allocations: 3.938 kB / 448.9 MB, free: 5.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009032/0.1074, allocations: 456.9 kB / 449.4 MB, free: 4.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1075, allocations: 55.41 kB / 449.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.1079, allocations: 453.6 kB / 449.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.108, allocations: 25.7 kB / 449.9 MB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1081, allocations: 192.3 kB / 450.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.1082, allocations: 74.92 kB / 450.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.1083, allocations: 49.69 kB / 450.2 MB, free: 3.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1084, allocations: 358.7 kB / 450.6 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1086, allocations: 119.8 kB / 450.7 MB, free: 3.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1089, allocations: 115.9 kB / 450.8 MB, free: 3.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.1094, allocations: 265.7 kB / 451.1 MB, free: 3.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1094, allocations: 0 / 451.1 MB, free: 3.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005907/0.11, allocations: 344.9 kB / 451.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.11, allocations: 7.938 kB / 451.4 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.11, allocations: 0 / 451.4 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.11, allocations: 7.984 kB / 451.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.1107, allocations: 155.9 kB / 451.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1561/0.2668, allocations: 5.506 MB / 457.1 MB, free: 46.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.2671, allocations: 51.41 kB / 457.1 MB, free: 46.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.2672, allocations: 11.77 kB / 457.1 MB, free: 46.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2673, allocations: 195.6 kB / 457.3 MB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2674, allocations: 37.25 kB / 457.3 MB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.2681, allocations: 449.1 kB / 457.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2681, allocations: 2.625 kB / 457.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2681, allocations: 3 kB / 457.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2681, allocations: 2.625 kB / 457.8 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.2685, allocations: 382.5 kB / 458.2 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2685, allocations: 0.8438 kB / 458.2 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.2691, allocations: 152 kB / 458.3 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2691, allocations: 5.938 kB / 458.3 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2691, allocations: 13.73 kB / 458.3 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.2706, allocations: 5.519 MB / 463.9 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2706, allocations: 0 / 463.9 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.2712, allocations: 455 kB / 464.3 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.2712, allocations: 120.4 kB / 464.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2713, allocations: 1.031 kB / 464.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2715, allocations: 9.562 kB / 464.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.2716, allocations: 27.84 kB / 464.5 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.2716, allocations: 12.38 kB / 464.5 MB, free: 40.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2718, allocations: 339.1 kB / 464.8 MB, free: 40.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2718, allocations: 0 / 464.8 MB, free: 40.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.2722, allocations: 107.6 kB / 464.9 MB, free: 40.61 MB / 382.1 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.2733, allocations: 1.007 MB / 465.9 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000949/0.2742, allocations: 404.3 kB / 466.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2742, allocations: 0 / 466.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.2749, allocations: 274.9 kB / 466.6 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.2754, allocations: 95.12 kB / 466.7 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.2795, allocations: 4.522 MB / 471.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2797, allocations: 0.851 MB / 472 MB, free: 37.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.2799, allocations: 82.16 kB / 472.1 MB, free: 37.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.28, allocations: 114.3 kB / 472.2 MB, free: 37.57 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.28, allocations: 3.844 kB / 472.2 MB, free: 37.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.3322, allocations: 10.85 MB / 483.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.3324, allocations: 286.8 kB / 483.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.823, allocations: 0 / 483.4 MB, free: 36.26 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches