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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.0009775/0.0009775, allocations: 194 kB / 18.12 MB, free: 5.363 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.395/1.395, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2121/0.2121, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.19 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.00376/0.1232, allocations: 2.057 MB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1249, allocations: 0.8998 MB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.125, allocations: 0 / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1254, allocations: 55.72 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.1259, allocations: 115.5 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1262, allocations: 79.73 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.1268, allocations: 0.5097 MB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.1269, allocations: 36.72 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.1272, allocations: 143.2 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1276, allocations: 191.1 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.1276, allocations: 12 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.128, allocations: 143.7 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1281, allocations: 91.53 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1283, allocations: 158.9 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.1289, allocations: 414.6 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1289, allocations: 4 kB / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1289, allocations: 0 / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1289, allocations: 0 / 473.5 MB, free: 9.824 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.001229/0.1302, allocations: 0.6552 MB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.1302, allocations: 8.031 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.1303, allocations: 82.72 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.1304, allocations: 40.47 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1308, allocations: 283.6 kB / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1308, allocations: 29.38 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.1309, allocations: 36.36 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.1318, allocations: 0.5608 MB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1318, allocations: 0 / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.1319, allocations: 16 kB / 475.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/0.1319, allocations: 44.91 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.133, allocations: 0.5698 MB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1347, allocations: 1.175 MB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.1353, allocations: 374.2 kB / 477.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1356, allocations: 140.8 kB / 477.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.1356, allocations: 7.984 kB / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1356, allocations: 34.56 kB / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.1356, allocations: 0 / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000968/0.1366, allocations: 466.1 kB / 478 MB, free: 5.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1367, allocations: 59.39 kB / 478.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.1372, allocations: 449.6 kB / 478.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1372, allocations: 33.7 kB / 478.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1374, allocations: 184.3 kB / 478.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.1374, allocations: 82.89 kB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.1375, allocations: 45.7 kB / 478.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1377, allocations: 354.7 kB / 479.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.138, allocations: 123.9 kB / 479.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.1382, allocations: 117.9 kB / 479.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.1387, allocations: 263.6 kB / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1387, allocations: 0 / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006204/0.1394, allocations: 340.9 kB / 480 MB, free: 3.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1394, allocations: 15.94 kB / 480 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1394, allocations: 3.938 kB / 480 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1394, allocations: 0 / 480 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.1402, allocations: 151.9 kB / 480.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.1431, allocations: 5.524 MB / 485.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1434, allocations: 47.39 kB / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1434, allocations: 15.98 kB / 485.8 MB, free: 13.12 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.1436, allocations: 185.7 kB / 486 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1437, allocations: 31.62 kB / 486 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.1445, allocations: 464.5 kB / 486.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1446, allocations: 7.984 kB / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1446, allocations: 3.938 kB / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1446, allocations: 0 / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.145, allocations: 377.2 kB / 486.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1451, allocations: 0 / 486.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.1458, allocations: 155.9 kB / 487 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1458, allocations: 0 / 487 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1458, allocations: 16 kB / 487 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.1486, allocations: 5.512 MB / 492.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1486, allocations: 3.938 kB / 492.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.1493, allocations: 453.8 kB / 493 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1494, allocations: 120.6 kB / 493.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.1495, allocations: 4 kB / 493.1 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1497, allocations: 4 kB / 493.1 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.1498, allocations: 27.91 kB / 493.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1498, allocations: 15.98 kB / 493.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.1502, allocations: 339.1 kB / 493.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1502, allocations: 0 / 493.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1506, allocations: 92 kB / 493.5 MB, free: 5.051 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.00108/0.1516, allocations: 1.017 MB / 494.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1528, allocations: 401 kB / 495 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1528, allocations: 4 kB / 495 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.1537, allocations: 271.7 kB / 495.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1542, allocations: 96.88 kB / 495.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.1599, allocations: 4.521 MB / 499.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1603, allocations: 0.8503 MB / 0.489 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1606, allocations: 91.2 kB / 0.489 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1607, allocations: 111.4 kB / 0.4891 GB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1608, allocations: 0 / 0.4891 GB, free: 13.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.293/2.454, allocations: 10.86 MB / 0.4997 GB, free: 3.016 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/2.454, allocations: 279.8 kB / 0.5 GB, free: 2.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/4.426, allocations: 3.094 kB / 0.5 GB, free: 2.633 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches