Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001095/0.001098, allocations: 108.8 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.18 MB / 336.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.14 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003543/0.1183, allocations: 2.054 MB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1209, allocations: 1.803 MB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1211, allocations: 4 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.1214, allocations: 51.72 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.1219, allocations: 119.5 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.1229, allocations: 318.9 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1233, allocations: 386.1 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.1234, allocations: 44.72 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1237, allocations: 143.2 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.124, allocations: 199 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.1241, allocations: 12 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.1249, allocations: 0.5381 MB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1251, allocations: 99.52 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1253, allocations: 154.9 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.1261, allocations: 0.631 MB / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1261, allocations: 0 / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1261, allocations: 3.938 kB / 475.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1261, allocations: 0 / 475.4 MB, free: 8.043 MB / 350.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.001121/0.1273, allocations: 0.6825 MB / 476.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1273, allocations: 8.031 kB / 476.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.1274, allocations: 86.7 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.1275, allocations: 40.47 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1278, allocations: 289.2 kB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1278, allocations: 21.38 kB / 476.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.1279, allocations: 40.36 kB / 476.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008596/0.1288, allocations: 0.5569 MB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1288, allocations: 0 / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.1288, allocations: 16 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.1289, allocations: 40.97 kB / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.1298, allocations: 0.5737 MB / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1315, allocations: 1.175 MB / 478.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.1322, allocations: 378.2 kB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1324, allocations: 136.9 kB / 479.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1325, allocations: 7.984 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1325, allocations: 34.56 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.1325, allocations: 0 / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009408/0.1335, allocations: 466.3 kB / 479.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1335, allocations: 55.41 kB / 479.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.134, allocations: 449.7 kB / 480.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.134, allocations: 33.64 kB / 480.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1341, allocations: 188.4 kB / 480.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.1342, allocations: 74.86 kB / 480.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.1343, allocations: 53.69 kB / 480.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1344, allocations: 358.7 kB / 481.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1347, allocations: 115.9 kB / 481.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1349, allocations: 117.8 kB / 481.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.1354, allocations: 263.6 kB / 481.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1354, allocations: 3.938 kB / 481.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006185/0.1361, allocations: 345 kB / 481.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1361, allocations: 11.94 kB / 481.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1361, allocations: 3.984 kB / 481.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1361, allocations: 0 / 481.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.1369, allocations: 155.9 kB / 482.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.1396, allocations: 5.528 MB / 487.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.1399, allocations: 39.47 kB / 487.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1399, allocations: 15.98 kB / 487.7 MB, free: 11.32 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.000209/0.1401, allocations: 185.7 kB / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1402, allocations: 39.55 kB / 487.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.1411, allocations: 460.6 kB / 488.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1411, allocations: 4 kB / 488.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1411, allocations: 0 / 488.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1411, allocations: 0 / 488.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1415, allocations: 381.2 kB / 488.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1416, allocations: 0 / 488.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.1422, allocations: 151.9 kB / 488.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1423, allocations: 4 kB / 488.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1423, allocations: 11.98 kB / 488.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.1449, allocations: 5.512 MB / 494.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1449, allocations: 8.031 kB / 494.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.1456, allocations: 446 kB / 494.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1457, allocations: 124.5 kB / 494.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.1458, allocations: 4 kB / 494.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.146, allocations: 7.984 kB / 495 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.1461, allocations: 27.92 kB / 495 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.1461, allocations: 15.98 kB / 495 MB, free: 3.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1465, allocations: 339 kB / 495.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 495.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000482/0.147, allocations: 135.9 kB / 495.5 MB, free: 3.199 MB / 366.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.001289/0.1483, allocations: 1.087 MB / 496.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.1494, allocations: 445 kB / 497 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1494, allocations: 0 / 497 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.1502, allocations: 275.7 kB / 497.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1508, allocations: 90.56 kB / 497.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.1563, allocations: 4.55 MB / 0.4901 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1567, allocations: 0.8581 MB / 0.491 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.1569, allocations: 87.2 kB / 0.491 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1571, allocations: 107.4 kB / 0.4911 GB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1571, allocations: 4 kB / 0.4912 GB, free: 11.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2102/0.3673, allocations: 12.51 MB / 0.5034 GB, free: 51.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.3676, allocations: 278.9 kB / 0.5036 GB, free: 50.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.505, allocations: 0.7031 kB / 0.5036 GB, free: 50.65 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches