Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.00137/0.00137, allocations: 109.5 kB / 17.77 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 188 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 60.83 MB / 0.5185 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002689/0.3074, allocations: 1.998 MB / 0.5204 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3085, allocations: 0.8995 MB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.3086, allocations: 2.094 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3089, allocations: 64.39 kB / 0.5213 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.3092, allocations: 123.8 kB / 0.5215 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3095, allocations: 84.77 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.3099, allocations: 396.3 kB / 0.5219 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.31, allocations: 44.14 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.3102, allocations: 147.1 kB / 0.5221 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3104, allocations: 178.8 kB / 0.5223 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.3104, allocations: 10 kB / 0.5223 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.3107, allocations: 145.8 kB / 0.5224 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.3108, allocations: 95.95 kB / 0.5225 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3109, allocations: 157.2 kB / 0.5227 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3114, allocations: 429.9 kB / 0.5231 GB, free: 452 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3114, allocations: 1.406 kB / 0.5231 GB, free: 452 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3114, allocations: 0.75 kB / 0.5231 GB, free: 452 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3114, allocations: 0 / 0.5231 GB, free: 452 kB / 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.0008961/0.3123, allocations: 0.6493 MB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3124, allocations: 9.062 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.759e-05/0.3124, allocations: 91.5 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.3125, allocations: 42.62 kB / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3129, allocations: 281.2 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3129, allocations: 28.34 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.313, allocations: 35.72 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008222/0.3138, allocations: 0.5547 MB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3138, allocations: 0.5625 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3139, allocations: 18.73 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.3139, allocations: 39.75 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.3149, allocations: 0.5794 MB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.3167, allocations: 1.172 MB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.3173, allocations: 374.3 kB / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3176, allocations: 138.4 kB / 0.527 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3176, allocations: 15.03 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3177, allocations: 36.16 kB / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3177, allocations: 0 / 0.527 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009671/0.3186, allocations: 462.3 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.3187, allocations: 53.66 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.3192, allocations: 458.7 kB / 0.528 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3192, allocations: 30.73 kB / 0.528 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3193, allocations: 187.2 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.3194, allocations: 76.62 kB / 0.5282 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.3195, allocations: 51.77 kB / 0.5283 GB, free: 13.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3197, allocations: 354.8 kB / 0.5286 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3199, allocations: 114.5 kB / 0.5287 GB, free: 13.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3202, allocations: 128.5 kB / 0.5289 GB, free: 12.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.3207, allocations: 260.2 kB / 0.5291 GB, free: 12.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3207, allocations: 0 / 0.5291 GB, free: 12.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005952/0.3213, allocations: 341.5 kB / 0.5294 GB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3213, allocations: 8.375 kB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3213, allocations: 1.438 kB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3213, allocations: 0 / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.322, allocations: 160 kB / 0.5296 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.3248, allocations: 5.517 MB / 0.535 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.3251, allocations: 46.02 kB / 0.535 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3251, allocations: 17.88 kB / 0.535 GB, free: 7.148 MB / 398.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.0002167/0.3253, allocations: 187.3 kB / 0.5352 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3254, allocations: 31.78 kB / 0.5352 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.3262, allocations: 453 kB / 0.5357 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3262, allocations: 6.266 kB / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3262, allocations: 1.188 kB / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3263, allocations: 4 kB / 0.5357 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.3267, allocations: 378.5 kB / 0.5361 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3267, allocations: 0 / 0.5361 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.3273, allocations: 151.2 kB / 0.5362 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.3274, allocations: 10.81 kB / 0.5362 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3274, allocations: 7.812 kB / 0.5362 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.3301, allocations: 5.516 MB / 0.5416 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3301, allocations: 3.938 kB / 0.5416 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.3308, allocations: 447.7 kB / 0.542 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3309, allocations: 123.1 kB / 0.5421 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.331, allocations: 5.188 kB / 0.5422 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3312, allocations: 12.64 kB / 0.5422 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.3313, allocations: 26.25 kB / 0.5422 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3313, allocations: 10.84 kB / 0.5422 GB, free: 488 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.3317, allocations: 338.9 kB / 0.5425 GB, free: 288 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3317, allocations: 0 / 0.5425 GB, free: 288 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.3321, allocations: 101.1 kB / 0.5426 GB, free: 272 kB / 398.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.001046/0.3331, allocations: 1.02 MB / 0.5436 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3342, allocations: 396 kB / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3342, allocations: 0 / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.335, allocations: 279.6 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3355, allocations: 94.3 kB / 0.5443 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.341, allocations: 4.355 MB / 0.5486 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3414, allocations: 0.8503 MB / 0.5494 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.3416, allocations: 83.22 kB / 0.5495 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3418, allocations: 115.4 kB / 0.5496 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3418, allocations: 0 / 0.5496 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.376, allocations: 11.81 MB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.07, allocations: 12.91 kB / 0.5612 GB, free: 15.76 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches