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.001073/0.001073, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 76.31 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003903/0.1301, allocations: 2.07 MB / 481.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.1333, allocations: 1.857 MB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.1335, allocations: 8 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.1339, allocations: 59.72 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.1344, allocations: 107.5 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1356, allocations: 326.8 kB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.1362, allocations: 390.1 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1363, allocations: 40.72 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.1367, allocations: 155.2 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.137, allocations: 191.1 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.1371, allocations: 12 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1381, allocations: 0.5576 MB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1383, allocations: 99.53 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1385, allocations: 154.9 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1395, allocations: 0.6387 MB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1396, allocations: 4 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1396, allocations: 0 / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1396, allocations: 0 / 486.3 MB, free: 14.85 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.001299/0.1409, allocations: 0.6748 MB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1409, allocations: 12.03 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.1411, allocations: 86.69 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.1412, allocations: 40.47 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.1415, allocations: 279.6 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1416, allocations: 29.36 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.1416, allocations: 36.38 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.1426, allocations: 0.5569 MB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1426, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.1426, allocations: 12 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.1427, allocations: 44.97 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1437, allocations: 0.5737 MB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1456, allocations: 1.183 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.1463, allocations: 381.5 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1465, allocations: 136.9 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.1466, allocations: 4 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1466, allocations: 34.56 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1466, allocations: 4 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009684/0.1476, allocations: 464.8 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1477, allocations: 55.41 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.1481, allocations: 453.6 kB / 491.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.1482, allocations: 29.7 kB / 491.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1483, allocations: 192.4 kB / 491.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.1484, allocations: 74.84 kB / 491.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.1485, allocations: 57.69 kB / 491.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1487, allocations: 350.7 kB / 492 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1489, allocations: 115.9 kB / 492.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1492, allocations: 118.7 kB / 492.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.1497, allocations: 268.5 kB / 492.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1497, allocations: 0 / 492.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006449/0.1503, allocations: 344.4 kB / 492.8 MB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1504, allocations: 7.938 kB / 492.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1504, allocations: 0 / 492.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1504, allocations: 4 kB / 492.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.1511, allocations: 155.8 kB / 493 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.154, allocations: 5.524 MB / 498.5 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1542, allocations: 43.47 kB / 498.5 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1543, allocations: 16.27 kB / 498.5 MB, free: 2.125 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.0002008/0.1545, allocations: 193.7 kB / 498.7 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.1546, allocations: 31.62 kB / 498.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.1554, allocations: 456.4 kB / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1554, allocations: 0 / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1554, allocations: 0 / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1555, allocations: 4 kB / 499.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.1559, allocations: 385.2 kB / 499.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1559, allocations: 0 / 499.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.1566, allocations: 155.9 kB / 499.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1566, allocations: 0 / 499.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.1566, allocations: 15.92 kB / 499.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.1594, allocations: 5.512 MB / 0.4934 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1594, allocations: 3.938 kB / 0.4934 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.1601, allocations: 450.2 kB / 0.4939 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1602, allocations: 124.8 kB / 0.494 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.1603, allocations: 0 / 0.494 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1605, allocations: 11.98 kB / 0.494 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.1606, allocations: 19.92 kB / 0.494 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.1606, allocations: 19.91 kB / 0.494 GB, free: 10.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003535/0.161, allocations: 339.1 kB / 0.4943 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 0.4943 GB, free: 10.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.1615, allocations: 139.9 kB / 0.4945 GB, free: 10 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.001301/0.1628, allocations: 1.098 MB / 0.4955 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.164, allocations: 435.5 kB / 0.496 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.164, allocations: 8 kB / 0.496 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.1648, allocations: 271.7 kB / 0.4962 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1653, allocations: 90.94 kB / 0.4963 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.171, allocations: 4.55 MB / 0.5008 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1715, allocations: 0.8543 MB / 0.5016 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002433/0.1717, allocations: 87.22 kB / 0.5017 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.1719, allocations: 107.4 kB / 0.5018 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1719, allocations: 0 / 0.5018 GB, free: 2.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2156/0.3875, allocations: 12.62 MB / 0.5141 GB, free: 41.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.3878, allocations: 276.5 kB / 0.5144 GB, free: 41.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.638, allocations: 4 kB / 0.5144 GB, free: 41.25 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