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.001337/0.001337, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 46.12 MB / 343.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 71.88 kB / 417 MB, free: 7.43 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 62.44 MB / 479.4 MB, free: 8.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003524/0.1155, allocations: 2.077 MB / 481.5 MB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.117, allocations: 0.9348 MB / 482.4 MB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1172, allocations: 3.938 kB / 482.4 MB, free: 5.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1175, allocations: 55.72 kB / 482.5 MB, free: 5.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.1179, allocations: 119.5 kB / 482.6 MB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.1181, allocations: 67.8 kB / 482.7 MB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.1186, allocations: 0.5136 MB / 483.2 MB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.1187, allocations: 52.64 kB / 483.2 MB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.119, allocations: 135.2 kB / 483.4 MB, free: 4.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1193, allocations: 191.1 kB / 483.5 MB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.1193, allocations: 12 kB / 483.6 MB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1196, allocations: 143.7 kB / 483.7 MB, free: 4.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1197, allocations: 83.66 kB / 483.8 MB, free: 4.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1199, allocations: 162.9 kB / 483.9 MB, free: 4.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.1203, allocations: 422.5 kB / 484.3 MB, free: 3.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.1203, allocations: 4 kB / 484.4 MB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1203, allocations: 0 / 484.4 MB, free: 3.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1204, allocations: 0 / 484.4 MB, free: 3.945 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.0009933/0.1214, allocations: 0.6475 MB / 485 MB, free: 3.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1214, allocations: 12.03 kB / 485 MB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.684e-05/0.1215, allocations: 86.69 kB / 485.1 MB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.1216, allocations: 40.47 kB / 485.1 MB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1219, allocations: 279.6 kB / 485.4 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.1219, allocations: 33.36 kB / 485.4 MB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.122, allocations: 32.38 kB / 485.5 MB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/0.1228, allocations: 0.557 MB / 486 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1229, allocations: 0 / 486 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.1229, allocations: 15.98 kB / 486 MB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.123, allocations: 52.91 kB / 486.1 MB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.1239, allocations: 0.5659 MB / 486.7 MB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1256, allocations: 1.171 MB / 487.8 MB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.1263, allocations: 374.2 kB / 488.2 MB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.1266, allocations: 136.9 kB / 488.3 MB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1266, allocations: 11.97 kB / 488.3 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1266, allocations: 38.56 kB / 488.4 MB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1266, allocations: 0 / 488.4 MB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009528/0.1276, allocations: 456.5 kB / 488.8 MB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1277, allocations: 59.34 kB / 488.9 MB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.1281, allocations: 457.5 kB / 489.3 MB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1282, allocations: 33.7 kB / 489.4 MB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1283, allocations: 196.2 kB / 489.6 MB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.1284, allocations: 67.02 kB / 489.6 MB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1285, allocations: 49.69 kB / 489.7 MB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1287, allocations: 354.7 kB / 490 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1289, allocations: 115.9 kB / 490.1 MB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.1292, allocations: 115.9 kB / 490.2 MB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.1297, allocations: 264.6 kB / 490.5 MB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1297, allocations: 0 / 490.5 MB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006115/0.1303, allocations: 350.3 kB / 490.8 MB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1304, allocations: 15.92 kB / 490.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1304, allocations: 0 / 490.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1304, allocations: 0 / 490.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.1312, allocations: 155.9 kB / 491 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.1339, allocations: 5.52 MB / 496.5 MB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1341, allocations: 47.48 kB / 496.6 MB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1341, allocations: 8 kB / 496.6 MB, free: 7.258 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.0001798/0.1343, allocations: 201.2 kB / 496.8 MB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.1344, allocations: 35.53 kB / 496.8 MB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.1352, allocations: 451.5 kB / 497.3 MB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1352, allocations: 4 kB / 497.3 MB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1352, allocations: 0 / 497.3 MB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1352, allocations: 7.969 kB / 497.3 MB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.1356, allocations: 377.2 kB / 497.6 MB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1356, allocations: 0 / 497.6 MB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.1363, allocations: 151.9 kB / 497.8 MB, free: 6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1363, allocations: 0 / 497.8 MB, free: 6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1363, allocations: 15.92 kB / 497.8 MB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.1387, allocations: 5.516 MB / 0.4915 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1388, allocations: 3.938 kB / 0.4915 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.1394, allocations: 450.8 kB / 0.492 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.1395, allocations: 116.7 kB / 0.4921 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.1396, allocations: 12.03 kB / 0.4921 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.1398, allocations: 11.98 kB / 0.4921 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.1398, allocations: 23.91 kB / 0.4921 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1399, allocations: 15.94 kB / 0.4921 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.1402, allocations: 339.1 kB / 0.4925 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1402, allocations: 0 / 0.4925 GB, free: 15.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.1405, allocations: 99.91 kB / 0.4925 GB, free: 15.17 MB / 430.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.001003/0.1415, allocations: 1.016 MB / 0.4935 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1427, allocations: 399.5 kB / 0.4939 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1427, allocations: 0 / 0.4939 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.1435, allocations: 275.7 kB / 0.4942 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.144, allocations: 85.44 kB / 0.4943 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/0.1494, allocations: 4.532 MB / 0.4987 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.1498, allocations: 0.8465 MB / 0.4995 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.1501, allocations: 83.22 kB / 0.4996 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.1502, allocations: 111.3 kB / 0.4997 GB, free: 7.715 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1502, allocations: 0 / 0.4997 GB, free: 7.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/0.5671, allocations: 10.85 MB / 0.5103 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/0.5674, allocations: 276.1 kB / 0.5106 GB, free: 12.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.387, allocations: 0 / 0.5106 GB, free: 12.74 MB / 446.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