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.001274/0.001274, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 75.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3421, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003906/0.346, allocations: 2.008 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.3489, allocations: 1.878 MB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3491, allocations: 2.75 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3494, allocations: 66.72 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.3498, allocations: 117.5 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.3506, allocations: 356.3 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.3511, allocations: 392.5 kB / 0.5353 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.3512, allocations: 42.94 kB / 0.5354 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.3515, allocations: 152.5 kB / 0.5355 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3518, allocations: 178.1 kB / 0.5357 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.3518, allocations: 10.41 kB / 0.5357 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/0.3528, allocations: 0.5591 MB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3529, allocations: 100.1 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3531, allocations: 152.8 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.354, allocations: 0.6423 MB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.354, allocations: 1.156 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.354, allocations: 3.938 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3541, allocations: 0 / 0.5371 GB, free: 8.586 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.001106/0.3552, allocations: 0.6996 MB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3552, allocations: 9.344 kB / 0.5378 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.3553, allocations: 80.59 kB / 0.5379 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.3554, allocations: 42.88 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.3558, allocations: 281.6 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.3558, allocations: 35.67 kB / 0.5382 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.3559, allocations: 36.41 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.3568, allocations: 0.5594 MB / 0.5388 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3568, allocations: 4 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.3569, allocations: 15.36 kB / 0.5388 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.3569, allocations: 43.59 kB / 0.5389 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.3579, allocations: 0.5676 MB / 0.5394 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3597, allocations: 1.177 MB / 0.5406 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.3604, allocations: 379.2 kB / 0.5409 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.3606, allocations: 138.6 kB / 0.5411 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.3607, allocations: 11.25 kB / 0.5411 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3607, allocations: 31.81 kB / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.3607, allocations: 1.062 kB / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009891/0.3617, allocations: 470.9 kB / 0.5416 GB, free: 5.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.3618, allocations: 54.09 kB / 0.5416 GB, free: 5.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.3623, allocations: 450.1 kB / 0.542 GB, free: 5.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3624, allocations: 31.08 kB / 0.5421 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3625, allocations: 191.8 kB / 0.5423 GB, free: 5.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.3626, allocations: 76.31 kB / 0.5423 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.3627, allocations: 56.2 kB / 0.5424 GB, free: 5.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3629, allocations: 350.8 kB / 0.5427 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3632, allocations: 118.6 kB / 0.5428 GB, free: 4.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3634, allocations: 118.9 kB / 0.5429 GB, free: 4.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.3639, allocations: 270.3 kB / 0.5432 GB, free: 4.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3639, allocations: 0 / 0.5432 GB, free: 4.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006821/0.3646, allocations: 345.5 kB / 0.5435 GB, free: 4.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3647, allocations: 11.94 kB / 0.5435 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3647, allocations: 0 / 0.5435 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3647, allocations: 0 / 0.5435 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.3654, allocations: 155.9 kB / 0.5437 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.3689, allocations: 5.513 MB / 0.5491 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3692, allocations: 55.59 kB / 0.5491 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3692, allocations: 12 kB / 0.5491 GB, free: 14.27 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.0002485/0.3695, allocations: 193.6 kB / 0.5493 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.3695, allocations: 35.95 kB / 0.5494 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.3705, allocations: 459.5 kB / 0.5498 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3705, allocations: 7.938 kB / 0.5498 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3705, allocations: 0 / 0.5498 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3705, allocations: 3.984 kB / 0.5498 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.371, allocations: 381.2 kB / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.371, allocations: 0 / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.3717, allocations: 159.8 kB / 0.5503 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3717, allocations: 0 / 0.5503 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3717, allocations: 16 kB / 0.5503 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.3752, allocations: 5.505 MB / 0.5557 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3753, allocations: 8.25 kB / 0.5557 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.376, allocations: 450.9 kB / 0.5562 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3762, allocations: 120.8 kB / 0.5563 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/0.3763, allocations: 3.984 kB / 0.5563 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3765, allocations: 12 kB / 0.5563 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.3766, allocations: 23.91 kB / 0.5563 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3766, allocations: 12 kB / 0.5563 GB, free: 6.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.377, allocations: 343.1 kB / 0.5566 GB, free: 6.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.377, allocations: 0 / 0.5566 GB, free: 6.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.3775, allocations: 143.6 kB / 0.5568 GB, free: 6.145 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.001374/0.3789, allocations: 1.09 MB / 0.5578 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3802, allocations: 399.5 kB / 0.5582 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3802, allocations: 7.938 kB / 0.5582 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.381, allocations: 275.7 kB / 0.5585 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.3816, allocations: 93.42 kB / 0.5586 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.3876, allocations: 4.383 MB / 0.5629 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.3882, allocations: 0.8503 MB / 0.5637 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.3885, allocations: 83.22 kB / 0.5638 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3887, allocations: 111.4 kB / 0.5639 GB, free: 14.74 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3887, allocations: 0 / 0.5639 GB, free: 14.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.4287, allocations: 13 MB / 0.5766 GB, free: 1.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.62, allocations: 13.7 kB / 0.5766 GB, free: 1.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.mat","/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