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.001728/0.001728, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, 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.2241/0.2241, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 76.16 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1239, 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_laminar_KC): time 0.003464/0.1274, allocations: 2.031 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.129, allocations: 0.9229 MB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1292, allocations: 4 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1295, allocations: 59.66 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.13, allocations: 123.4 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1304, allocations: 87.64 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.1308, allocations: 378.2 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.1309, allocations: 48.72 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.1312, allocations: 159.2 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1315, allocations: 183.1 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.1316, allocations: 8 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1319, allocations: 143.7 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.132, allocations: 95.53 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1322, allocations: 162.9 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.1327, allocations: 426.6 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1328, allocations: 0 / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1328, allocations: 0 / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1328, allocations: 0 / 484.9 MB, free: 348 kB / 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.001095/0.1339, allocations: 0.6591 MB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1339, allocations: 12.03 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.192e-05/0.134, allocations: 86.72 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.1341, allocations: 36.47 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1345, allocations: 287.6 kB / 486 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1345, allocations: 25.38 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.1345, allocations: 36.36 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008274/0.1354, allocations: 0.5569 MB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1354, allocations: 0 / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1355, allocations: 16 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.1355, allocations: 44.97 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.1365, allocations: 0.5698 MB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1383, allocations: 1.175 MB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.1389, allocations: 377.2 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1392, allocations: 140.9 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.1392, allocations: 7.984 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1393, allocations: 38.56 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1393, allocations: 0 / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009556/0.1402, allocations: 460.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1403, allocations: 51.41 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.1408, allocations: 457.6 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1408, allocations: 25.7 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1409, allocations: 192.3 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.141, allocations: 78.89 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1411, allocations: 53.7 kB / 490.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1412, allocations: 350.7 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1415, allocations: 119.8 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1417, allocations: 121 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.1422, allocations: 268.2 kB / 491.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1423, allocations: 3.984 kB / 491.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006248/0.1429, allocations: 337 kB / 491.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1429, allocations: 11.88 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1429, allocations: 0 / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1429, allocations: 0 / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.1437, allocations: 159.8 kB / 491.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.1467, allocations: 5.516 MB / 497.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1469, allocations: 47.39 kB / 497.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.147, allocations: 12 kB / 497.2 MB, free: 3.645 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.0002102/0.1472, allocations: 197.8 kB / 497.4 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.1473, allocations: 31.62 kB / 497.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/0.1481, allocations: 459.8 kB / 497.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1482, allocations: 7.938 kB / 497.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1482, allocations: 0 / 497.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1482, allocations: 0 / 497.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1486, allocations: 373.2 kB / 498.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1486, allocations: 8 kB / 498.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.1494, allocations: 155.9 kB / 498.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1494, allocations: 4 kB / 498.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.1494, allocations: 8 kB / 498.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.1523, allocations: 5.512 MB / 0.4921 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1523, allocations: 7.969 kB / 0.4921 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.153, allocations: 442.7 kB / 0.4925 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1532, allocations: 120.6 kB / 0.4926 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1532, allocations: 8.094 kB / 0.4927 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1534, allocations: 11.98 kB / 0.4927 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1535, allocations: 23.91 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1536, allocations: 12 kB / 0.4927 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003463/0.1539, allocations: 339.1 kB / 0.493 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1539, allocations: 0 / 0.493 GB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1543, allocations: 92 kB / 0.4931 GB, free: 11.57 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.001088/0.1554, allocations: 1.012 MB / 0.4941 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.1567, allocations: 450.7 kB / 0.4945 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1567, allocations: 0 / 0.4945 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.1576, allocations: 271.7 kB / 0.4948 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1581, allocations: 85.45 kB / 0.4949 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/0.164, allocations: 4.446 MB / 0.4992 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1645, allocations: 0.8543 MB / 0.5 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.1647, allocations: 83.2 kB / 0.5001 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1649, allocations: 115.3 kB / 0.5002 GB, free: 4.145 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1649, allocations: 0 / 0.5002 GB, free: 4.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.3796, allocations: 11.34 MB / 0.5113 GB, free: 43.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 3.25 kB / 0.5113 GB, free: 43.13 MB / 382.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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