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.001395/0.001395, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 81.23 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09874, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003458/0.1022, allocations: 2.015 MB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1052, allocations: 1.876 MB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1054, allocations: 4 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1058, allocations: 59.64 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1063, allocations: 115.4 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009943/0.1073, allocations: 362.5 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.1079, allocations: 382.2 kB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.108, allocations: 44.72 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.1083, allocations: 159.1 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1086, allocations: 171.2 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.1087, allocations: 12 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009007/0.1096, allocations: 0.5732 MB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1098, allocations: 95.53 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.11, allocations: 151 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.1112, allocations: 0.6348 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1112, allocations: 0 / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1112, allocations: 0 / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1112, allocations: 0 / 486.8 MB, free: 14.5 MB / 366.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.001386/0.1126, allocations: 0.6865 MB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1126, allocations: 8.031 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.1128, allocations: 86.69 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.1129, allocations: 40.47 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1132, allocations: 279.6 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.1133, allocations: 29.36 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.1133, allocations: 36.38 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.1142, allocations: 0.5569 MB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1142, allocations: 4 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.1142, allocations: 15.98 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.1143, allocations: 44.97 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1153, allocations: 0.5659 MB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1171, allocations: 1.187 MB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.1178, allocations: 370.2 kB / 490.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.1181, allocations: 136.9 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1181, allocations: 15.98 kB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1182, allocations: 30.56 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.1182, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001046/0.1192, allocations: 468.4 kB / 491.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1193, allocations: 55.41 kB / 491.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.1198, allocations: 449.6 kB / 491.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1198, allocations: 41.69 kB / 491.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.12, allocations: 188.4 kB / 492 MB, free: 9.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.1201, allocations: 70.86 kB / 492.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1202, allocations: 49.69 kB / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1203, allocations: 354.7 kB / 492.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.1206, allocations: 115.9 kB / 492.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1209, allocations: 115.9 kB / 492.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.1214, allocations: 264.6 kB / 493 MB, free: 8.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1214, allocations: 4 kB / 493 MB, free: 8.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006357/0.122, allocations: 344.3 kB / 493.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1221, allocations: 11.94 kB / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1221, allocations: 0 / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1221, allocations: 0 / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.1229, allocations: 163.8 kB / 493.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.1258, allocations: 5.516 MB / 499 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1261, allocations: 43.75 kB / 499 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1261, allocations: 19.98 kB / 499.1 MB, free: 1.766 MB / 366.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.0002112/0.1263, allocations: 189.7 kB / 499.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.1264, allocations: 31.62 kB / 499.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.1272, allocations: 452.4 kB / 499.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1273, allocations: 4 kB / 499.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1273, allocations: 4 kB / 499.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1273, allocations: 0 / 499.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1277, allocations: 377.2 kB / 0.4884 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1277, allocations: 0 / 0.4884 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.1284, allocations: 163.9 kB / 0.4885 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1284, allocations: 0 / 0.4885 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.1284, allocations: 15.92 kB / 0.4885 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.1312, allocations: 5.509 MB / 0.4939 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.1312, allocations: 3.938 kB / 0.4939 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.1319, allocations: 450.9 kB / 0.4944 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.132, allocations: 120.6 kB / 0.4945 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.1321, allocations: 4 kB / 0.4945 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1323, allocations: 11.98 kB / 0.4945 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1324, allocations: 23.92 kB / 0.4945 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1324, allocations: 11.98 kB / 0.4945 GB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003579/0.1328, allocations: 339.1 kB / 0.4948 GB, free: 9.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1328, allocations: 0 / 0.4948 GB, free: 9.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.1332, allocations: 143.9 kB / 0.495 GB, free: 9.652 MB / 382.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.001214/0.1345, allocations: 1.098 MB / 0.4961 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.1357, allocations: 439.5 kB / 0.4965 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1357, allocations: 0 / 0.4965 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.1365, allocations: 271.7 kB / 0.4967 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1371, allocations: 85.45 kB / 0.4968 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.1428, allocations: 4.475 MB / 0.5012 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1432, allocations: 0.8465 MB / 0.502 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.1435, allocations: 83.22 kB / 0.5021 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.1437, allocations: 115.4 kB / 0.5022 GB, free: 2.129 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1437, allocations: 0 / 0.5022 GB, free: 2.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4381/0.5818, allocations: 12.79 MB / 0.5147 GB, free: 41.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.53, allocations: 3.125 kB / 0.5147 GB, free: 41.22 MB / 382.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