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.001668/0.001668, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 203.8 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.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 62.44 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.002916/0.3053, allocations: 2.011 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3077, allocations: 1.879 MB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.3078, allocations: 1.25 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.3081, allocations: 67.03 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3084, allocations: 116.2 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.3092, allocations: 345.4 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.3096, allocations: 397.3 kB / 0.5352 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.3097, allocations: 42.84 kB / 0.5353 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.3099, allocations: 152 kB / 0.5354 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.3102, allocations: 182.6 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.3102, allocations: 9.719 kB / 0.5356 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008359/0.3111, allocations: 0.5639 MB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3112, allocations: 91.91 kB / 0.5362 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3113, allocations: 157.1 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008172/0.3122, allocations: 0.6413 MB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.3122, allocations: 0 / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3122, allocations: 0 / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3122, allocations: 0 / 0.537 GB, free: 8.668 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.001036/0.3132, allocations: 0.6895 MB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3133, allocations: 8.969 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.3134, allocations: 79.94 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.3135, allocations: 48.3 kB / 0.5378 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.3138, allocations: 272.4 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3139, allocations: 32.23 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.3139, allocations: 35.97 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.3147, allocations: 0.5609 MB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3148, allocations: 0 / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.3148, allocations: 15.2 kB / 0.5387 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/0.3149, allocations: 43.66 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.3158, allocations: 0.5684 MB / 0.5393 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.3177, allocations: 1.164 MB / 0.5404 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.3184, allocations: 379.6 kB / 0.5408 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.3186, allocations: 138.2 kB / 0.5409 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.3187, allocations: 15.61 kB / 0.5409 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3187, allocations: 31.81 kB / 0.541 GB, free: 6.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.3187, allocations: 0 / 0.541 GB, free: 6.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009568/0.3197, allocations: 466.8 kB / 0.5414 GB, free: 5.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3197, allocations: 53.78 kB / 0.5415 GB, free: 5.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.3202, allocations: 450.7 kB / 0.5419 GB, free: 5.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3202, allocations: 30.89 kB / 0.5419 GB, free: 5.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3204, allocations: 188.5 kB / 0.5421 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.3204, allocations: 80.34 kB / 0.5422 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.3205, allocations: 55.22 kB / 0.5422 GB, free: 5.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3207, allocations: 350.4 kB / 0.5426 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3209, allocations: 118.8 kB / 0.5427 GB, free: 4.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3212, allocations: 121.2 kB / 0.5428 GB, free: 4.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.3217, allocations: 265.8 kB / 0.5431 GB, free: 4.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3217, allocations: 0 / 0.5431 GB, free: 4.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006319/0.3223, allocations: 343.4 kB / 0.5434 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3224, allocations: 7.938 kB / 0.5434 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3224, allocations: 3.984 kB / 0.5434 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3224, allocations: 0 / 0.5434 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.3231, allocations: 159.9 kB / 0.5435 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.326, allocations: 5.512 MB / 0.5489 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3262, allocations: 51.39 kB / 0.549 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.3263, allocations: 15.98 kB / 0.549 GB, free: 14.43 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.0002017/0.3265, allocations: 193.6 kB / 0.5492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.3266, allocations: 35.81 kB / 0.5492 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.3274, allocations: 459.4 kB / 0.5497 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3274, allocations: 4 kB / 0.5497 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3274, allocations: 0 / 0.5497 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3274, allocations: 3.938 kB / 0.5497 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.3279, allocations: 381.2 kB / 0.55 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3279, allocations: 4 kB / 0.55 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.3286, allocations: 151.9 kB / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3286, allocations: 4 kB / 0.5502 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3286, allocations: 12 kB / 0.5502 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/0.3314, allocations: 5.512 MB / 0.5556 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3314, allocations: 8 kB / 0.5556 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.3321, allocations: 442.8 kB / 0.556 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.3323, allocations: 112.6 kB / 0.5561 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.3324, allocations: 8 kB / 0.5561 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.3326, allocations: 8 kB / 0.5561 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.3327, allocations: 23.91 kB / 0.5561 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3327, allocations: 19.92 kB / 0.5562 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.333, allocations: 339.1 kB / 0.5565 GB, free: 6.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.333, allocations: 0 / 0.5565 GB, free: 6.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.3335, allocations: 143.9 kB / 0.5566 GB, free: 6.309 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.00125/0.3348, allocations: 1.09 MB / 0.5577 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3359, allocations: 403.5 kB / 0.5581 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.336, allocations: 0 / 0.5581 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.3368, allocations: 275.7 kB / 0.5583 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.3373, allocations: 89.38 kB / 0.5584 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.3428, allocations: 4.377 MB / 0.5627 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.3432, allocations: 0.8581 MB / 0.5635 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3434, allocations: 79.22 kB / 0.5636 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3436, allocations: 111.4 kB / 0.5637 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3436, allocations: 0 / 0.5637 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3767, allocations: 13.26 MB / 0.5767 GB, free: 1.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, 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