Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.0007441/0.0007443, allocations: 93.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008925/0.0008925, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1737/0.1737, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.000216, allocations: 8.281 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.09967, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.001837/0.1015, allocations: 1.735 MB / 484.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1027, allocations: 0.9115 MB / 485.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1028, allocations: 4 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.103, allocations: 55.72 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.1033, allocations: 111.5 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1035, allocations: 75.73 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1039, allocations: 0.5058 MB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.104, allocations: 44.72 kB / 486.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1042, allocations: 147.1 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1044, allocations: 191.1 kB / 487 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1044, allocations: 12 kB / 487 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1046, allocations: 147.7 kB / 487.1 MB, free: 96 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.1047, allocations: 91.53 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1049, allocations: 180.6 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.1053, allocations: 418.5 kB / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1053, allocations: 0 / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1053, allocations: 0 / 487.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1053, allocations: 0 / 487.8 MB, free: 15.41 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.0007648/0.1061, allocations: 0.5929 MB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1061, allocations: 12.03 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.1062, allocations: 86.69 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.1063, allocations: 44.38 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1065, allocations: 271.7 kB / 488.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1066, allocations: 29.36 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.1066, allocations: 36.38 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.1074, allocations: 0.5648 MB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1074, allocations: 0 / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1074, allocations: 15.98 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.1075, allocations: 40.97 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.1083, allocations: 0.5816 MB / 490.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1098, allocations: 1.171 MB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.1104, allocations: 382.2 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.1106, allocations: 156.9 kB / 491.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1107, allocations: 7.984 kB / 491.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1107, allocations: 30.56 kB / 491.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.1107, allocations: 4 kB / 491.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008779/0.1116, allocations: 487.8 kB / 492.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1116, allocations: 51.41 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.1121, allocations: 449.6 kB / 492.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1121, allocations: 29.7 kB / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1122, allocations: 192.3 kB / 493 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.1123, allocations: 70.91 kB / 493.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1123, allocations: 25.72 kB / 493.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1124, allocations: 350.7 kB / 493.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1127, allocations: 127.8 kB / 493.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1129, allocations: 123.9 kB / 493.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1134, allocations: 276.2 kB / 493.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1134, allocations: 0 / 493.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005759/0.114, allocations: 357 kB / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.114, allocations: 7.938 kB / 494.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.114, allocations: 3.938 kB / 494.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.114, allocations: 0 / 494.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.1147, allocations: 163.8 kB / 494.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.1171, allocations: 5.52 MB / 500 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1173, allocations: 55.39 kB / 0.4883 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1173, allocations: 11.98 kB / 0.4883 GB, free: 2.719 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.0001683/0.1175, allocations: 193.8 kB / 0.4885 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1175, allocations: 31.62 kB / 0.4885 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.1183, allocations: 468.5 kB / 0.489 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1183, allocations: 4 kB / 0.489 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1184, allocations: 3.938 kB / 0.489 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1184, allocations: 0 / 0.489 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.1187, allocations: 377.2 kB / 0.4894 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1188, allocations: 0 / 0.4894 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.1194, allocations: 159.9 kB / 0.4895 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1194, allocations: 0 / 0.4895 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1194, allocations: 8 kB / 0.4895 GB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.1218, allocations: 5.52 MB / 0.4949 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1218, allocations: 4.219 kB / 0.4949 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.1224, allocations: 458.3 kB / 0.4953 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1225, allocations: 120.6 kB / 0.4955 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.1225, allocations: 8 kB / 0.4955 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1227, allocations: 12 kB / 0.4955 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1228, allocations: 23.91 kB / 0.4955 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1228, allocations: 15.98 kB / 0.4955 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002961/0.1231, allocations: 331.1 kB / 0.4958 GB, free: 10.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1231, allocations: 4 kB / 0.4958 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1235, allocations: 96 kB / 0.4959 GB, free: 10.62 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.0009395/0.1244, allocations: 1.028 MB / 0.4969 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1255, allocations: 415.5 kB / 0.4973 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1255, allocations: 0 / 0.4973 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.1262, allocations: 284.8 kB / 0.4976 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.1267, allocations: 85.48 kB / 0.4977 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.1314, allocations: 4.581 MB / 0.5022 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1318, allocations: 0.8581 MB / 0.503 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.132, allocations: 83.2 kB / 0.5031 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1322, allocations: 111.4 kB / 0.5032 GB, free: 3.066 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1322, allocations: 0 / 0.5032 GB, free: 3.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.646/2.778, allocations: 10.68 MB / 0.5136 GB, free: 39.9 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/2.779, allocations: 276 kB / 0.5139 GB, free: 39.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/5.387, allocations: 0.5625 kB / 0.5139 GB, free: 39.52 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches