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.001085/0.001085, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 73.2 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003699/0.1295, allocations: 2.012 MB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1322, allocations: 1.876 MB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1324, allocations: 0 / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1327, allocations: 59.66 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1332, allocations: 127.3 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.1341, allocations: 358.5 kB / 484.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.1346, allocations: 378.2 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.1347, allocations: 48.66 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.135, allocations: 151.2 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1353, allocations: 179.2 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.1353, allocations: 12 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009593/0.1363, allocations: 0.5537 MB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1364, allocations: 99.53 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.1366, allocations: 158.9 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000896/0.1375, allocations: 0.6387 MB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1375, allocations: 0 / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1375, allocations: 0 / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1375, allocations: 0 / 486.8 MB, free: 14.51 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.001247/0.1388, allocations: 0.6787 MB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1389, allocations: 8.031 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.139, allocations: 86.69 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.1391, allocations: 40.47 kB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1394, allocations: 287.6 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1395, allocations: 25.36 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.1395, allocations: 36.38 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.1404, allocations: 0.5531 MB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1404, allocations: 3.984 kB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.1405, allocations: 19.98 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.1405, allocations: 36.92 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1416, allocations: 0.5737 MB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1434, allocations: 1.183 MB / 490.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.144, allocations: 377.2 kB / 490.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1443, allocations: 136.9 kB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.1443, allocations: 11.97 kB / 490.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1443, allocations: 38.56 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.1443, allocations: 0 / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001002/0.1454, allocations: 460.8 kB / 491.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1454, allocations: 59.44 kB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.146, allocations: 453.6 kB / 491.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.146, allocations: 25.7 kB / 491.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1462, allocations: 188.4 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.1463, allocations: 78.84 kB / 492.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1464, allocations: 49.7 kB / 492.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1466, allocations: 358.7 kB / 492.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.1468, allocations: 115.9 kB / 492.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1471, allocations: 127.2 kB / 492.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1476, allocations: 260.6 kB / 493 MB, free: 8.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1476, allocations: 0 / 493 MB, free: 8.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007172/0.1484, allocations: 352.5 kB / 493.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1484, allocations: 10.59 kB / 493.3 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1484, allocations: 4 kB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.1485, allocations: 0 / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.1493, allocations: 151.9 kB / 493.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1525, allocations: 5.52 MB / 499 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1528, allocations: 47.45 kB / 499 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1529, allocations: 8 kB / 499 MB, free: 1.785 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.0002623/0.1531, allocations: 193.7 kB / 499.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.1532, allocations: 31.62 kB / 499.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.1541, allocations: 456.6 kB / 499.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1541, allocations: 0 / 499.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1541, allocations: 4 kB / 499.7 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1542, allocations: 3.984 kB / 499.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1547, allocations: 377.2 kB / 0.4884 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1547, allocations: 0 / 0.4884 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.1554, allocations: 151.9 kB / 0.4885 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1554, allocations: 7.938 kB / 0.4885 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1554, allocations: 11.98 kB / 0.4885 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.1585, allocations: 5.509 MB / 0.4939 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1585, allocations: 8.031 kB / 0.4939 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.1592, allocations: 446.8 kB / 0.4943 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1594, allocations: 120.6 kB / 0.4945 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.1594, allocations: 4 kB / 0.4945 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1596, allocations: 11.92 kB / 0.4945 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.1597, allocations: 27.91 kB / 0.4945 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.1598, allocations: 16 kB / 0.4945 GB, free: 10.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.1601, allocations: 331.1 kB / 0.4948 GB, free: 9.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1601, allocations: 4 kB / 0.4948 GB, free: 9.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.1606, allocations: 143.9 kB / 0.495 GB, free: 9.668 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.001243/0.1619, allocations: 1.103 MB / 0.496 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1631, allocations: 438.5 kB / 0.4965 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1631, allocations: 0 / 0.4965 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007995/0.1639, allocations: 275.7 kB / 0.4967 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1644, allocations: 92.48 kB / 0.4968 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.1698, allocations: 4.473 MB / 0.5012 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1702, allocations: 0.8543 MB / 0.502 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.1705, allocations: 83.2 kB / 0.5021 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1707, allocations: 111.4 kB / 0.5022 GB, free: 2.133 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1707, allocations: 4 kB / 0.5022 GB, free: 2.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2394/0.4101, allocations: 12.78 MB / 0.5147 GB, free: 41.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 3.125 kB / 0.5147 GB, free: 41.28 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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