Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.89 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.344, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002971/0.347, allocations: 2.01 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.3495, allocations: 1.87 MB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.3496, allocations: 2.375 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3499, allocations: 71.61 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.3503, allocations: 126.8 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.351, allocations: 364.1 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.3514, allocations: 392.8 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.3515, allocations: 38.84 kB / 0.5353 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3517, allocations: 152 kB / 0.5354 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.352, allocations: 186.2 kB / 0.5356 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.352, allocations: 11.03 kB / 0.5356 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.3529, allocations: 0.5513 MB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.353, allocations: 95.72 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.3532, allocations: 161.2 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007933/0.354, allocations: 0.6425 MB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.354, allocations: 0 / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.354, allocations: 0 / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.354, allocations: 5.188 kB / 0.537 GB, free: 8.656 MB / 398.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.000984/0.355, allocations: 0.6947 MB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.355, allocations: 9.406 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.115e-05/0.3551, allocations: 84.69 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.3552, allocations: 42.84 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3555, allocations: 284.9 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3556, allocations: 24.34 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.3556, allocations: 44.36 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.3564, allocations: 0.5597 MB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3564, allocations: 0 / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3565, allocations: 16.25 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.3565, allocations: 34.67 kB / 0.5388 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.3575, allocations: 0.5757 MB / 0.5393 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3591, allocations: 1.182 MB / 0.5405 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.3597, allocations: 382.4 kB / 0.5409 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.36, allocations: 135.2 kB / 0.541 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.36, allocations: 10.94 kB / 0.541 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.36, allocations: 40.84 kB / 0.541 GB, free: 5.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.36, allocations: 0 / 0.541 GB, free: 5.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009319/0.361, allocations: 458.6 kB / 0.5415 GB, free: 5.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.361, allocations: 53.59 kB / 0.5415 GB, free: 5.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3615, allocations: 455.4 kB / 0.542 GB, free: 5.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3615, allocations: 26.77 kB / 0.542 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3617, allocations: 192.1 kB / 0.5422 GB, free: 5.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.3617, allocations: 83.95 kB / 0.5422 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.3618, allocations: 55.77 kB / 0.5423 GB, free: 5.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.362, allocations: 354 kB / 0.5426 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3622, allocations: 119.4 kB / 0.5428 GB, free: 4.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.3625, allocations: 123 kB / 0.5429 GB, free: 4.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.363, allocations: 262.4 kB / 0.5431 GB, free: 4.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.363, allocations: 0 / 0.5431 GB, free: 4.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006002/0.3636, allocations: 347.3 kB / 0.5435 GB, free: 4.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3636, allocations: 7.938 kB / 0.5435 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3636, allocations: 0 / 0.5435 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3636, allocations: 4 kB / 0.5435 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.3644, allocations: 155.9 kB / 0.5436 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.3671, allocations: 5.513 MB / 0.549 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.3674, allocations: 51.59 kB / 0.549 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.3674, allocations: 8 kB / 0.5491 GB, free: 14.37 MB / 414.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.0002023/0.3676, allocations: 197.8 kB / 0.5492 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.3677, allocations: 39.77 kB / 0.5493 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/0.3685, allocations: 459.5 kB / 0.5497 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3686, allocations: 0 / 0.5497 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3686, allocations: 3.938 kB / 0.5497 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3686, allocations: 4 kB / 0.5497 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.369, allocations: 377.2 kB / 0.5501 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.369, allocations: 0 / 0.5501 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.3697, allocations: 159.9 kB / 0.5502 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3697, allocations: 0 / 0.5502 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.3697, allocations: 8 kB / 0.5502 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.3724, allocations: 5.52 MB / 0.5556 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3724, allocations: 7.922 kB / 0.5556 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.3731, allocations: 443 kB / 0.5561 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3732, allocations: 120.8 kB / 0.5562 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3733, allocations: 4 kB / 0.5562 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3735, allocations: 12.08 kB / 0.5562 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.3735, allocations: 27.91 kB / 0.5562 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.3736, allocations: 8 kB / 0.5562 GB, free: 6.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.3739, allocations: 335.1 kB / 0.5565 GB, free: 6.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.3739, allocations: 0 / 0.5565 GB, free: 6.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.3744, allocations: 155.5 kB / 0.5567 GB, free: 6.238 MB / 414.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.001192/0.3756, allocations: 1.098 MB / 0.5578 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3767, allocations: 395.6 kB / 0.5581 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3767, allocations: 0 / 0.5581 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.3775, allocations: 283.6 kB / 0.5584 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.378, allocations: 93.36 kB / 0.5585 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.3833, allocations: 4.372 MB / 0.5628 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3837, allocations: 0.8504 MB / 0.5636 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3839, allocations: 87.2 kB / 0.5637 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3841, allocations: 111.4 kB / 0.5638 GB, free: 14.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3841, allocations: 4 kB / 0.5638 GB, free: 14.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.4164, allocations: 13 MB / 0.5765 GB, free: 2.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 1.516 kB / 0.5765 GB, free: 2.082 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches