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.00117/0.00117, allocations: 118.8 kB / 17.79 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.001347/0.001347, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3421, 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.003208/0.3453, allocations: 2.021 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.3481, allocations: 1.877 MB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3482, allocations: 1.531 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3485, allocations: 59.94 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.3489, allocations: 119.7 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.3497, allocations: 352.8 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3501, allocations: 392.8 kB / 0.5352 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.709e-05/0.3501, allocations: 40.22 kB / 0.5353 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.3504, allocations: 160.1 kB / 0.5354 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3507, allocations: 177.9 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.3507, allocations: 10.38 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3518, allocations: 0.559 MB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3519, allocations: 100.8 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3521, allocations: 152.1 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.3529, allocations: 0.6375 MB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.353, allocations: 1.469 kB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.353, allocations: 0 / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.353, allocations: 0 / 0.537 GB, free: 8.672 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.001147/0.3541, allocations: 0.6852 MB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3542, allocations: 9.25 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.3543, allocations: 91.8 kB / 0.5378 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3544, allocations: 43.03 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3548, allocations: 272.7 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.3548, allocations: 32.42 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.3549, allocations: 39.38 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.3558, allocations: 0.5599 MB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3558, allocations: 1.688 kB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3559, allocations: 18.58 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/0.3559, allocations: 39.31 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.3569, allocations: 0.5679 MB / 0.5393 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.3589, allocations: 1.173 MB / 0.5404 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.3595, allocations: 375.8 kB / 0.5408 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3598, allocations: 138.5 kB / 0.5409 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.3599, allocations: 15.44 kB / 0.541 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3599, allocations: 35.5 kB / 0.541 GB, free: 6.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.3599, allocations: 3.938 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001037/0.3609, allocations: 462.8 kB / 0.5414 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.361, allocations: 54 kB / 0.5415 GB, free: 5.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.3617, allocations: 454.8 kB / 0.5419 GB, free: 5.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3617, allocations: 31.14 kB / 0.5419 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3619, allocations: 187.3 kB / 0.5421 GB, free: 5.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.362, allocations: 76.72 kB / 0.5422 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3621, allocations: 51.77 kB / 0.5422 GB, free: 5.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3623, allocations: 354.6 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.3626, allocations: 118.2 kB / 0.5427 GB, free: 4.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.3628, allocations: 120.2 kB / 0.5428 GB, free: 4.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3633, allocations: 266.4 kB / 0.5431 GB, free: 4.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3634, allocations: 0 / 0.5431 GB, free: 4.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006558/0.364, allocations: 344.4 kB / 0.5434 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.364, allocations: 7.938 kB / 0.5434 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3641, allocations: 0 / 0.5434 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3641, allocations: 0 / 0.5434 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/0.3649, allocations: 155.9 kB / 0.5436 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.3682, allocations: 5.516 MB / 0.5489 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3685, allocations: 47.67 kB / 0.549 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3685, allocations: 16 kB / 0.549 GB, free: 14.42 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.000251/0.3688, allocations: 197.6 kB / 0.5492 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.3689, allocations: 31.62 kB / 0.5492 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009782/0.3699, allocations: 459.5 kB / 0.5497 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.3699, allocations: 4 kB / 0.5497 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3699, allocations: 3.938 kB / 0.5497 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3699, allocations: 0 / 0.5497 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.3705, allocations: 377.2 kB / 0.55 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3705, allocations: 4 kB / 0.55 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/0.3712, allocations: 155.8 kB / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3712, allocations: 4 kB / 0.5502 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3712, allocations: 8 kB / 0.5502 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.3742, allocations: 5.512 MB / 0.5556 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3742, allocations: 7.875 kB / 0.5556 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.3749, allocations: 446.7 kB / 0.556 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3751, allocations: 112.8 kB / 0.5561 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.3751, allocations: 12 kB / 0.5561 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3754, allocations: 7.984 kB / 0.5561 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.3754, allocations: 23.91 kB / 0.5562 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.3755, allocations: 12 kB / 0.5562 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003807/0.3759, allocations: 339.1 kB / 0.5565 GB, free: 6.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3759, allocations: 0 / 0.5565 GB, free: 6.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.3764, allocations: 139.9 kB / 0.5566 GB, free: 6.312 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.001332/0.3778, allocations: 1.094 MB / 0.5577 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3789, allocations: 403.5 kB / 0.5581 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3789, allocations: 4 kB / 0.5581 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.3797, allocations: 275.7 kB / 0.5583 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.3803, allocations: 97.36 kB / 0.5584 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.3861, allocations: 4.364 MB / 0.5627 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.3865, allocations: 0.8542 MB / 0.5635 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3868, allocations: 87.2 kB / 0.5636 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.3869, allocations: 115.4 kB / 0.5637 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3869, allocations: 0 / 0.5637 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.4233, allocations: 13.25 MB / 0.5767 GB, free: 1.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.12, allocations: 1.516 kB / 0.5767 GB, free: 1.906 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