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.0006874/0.0006874, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0007329/0.000733, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.23/1.23, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.178/0.178, allocations: 44.24 MB / 337.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002943, allocations: 15.98 kB / 410.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 61.92 MB / 472.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002163/0.1136, allocations: 1.718 MB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.115, allocations: 0.8803 MB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1152, allocations: 4 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1154, allocations: 55.72 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1158, allocations: 111.4 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.116, allocations: 75.8 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.1166, allocations: 0.5136 MB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.1166, allocations: 44.7 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.1169, allocations: 139.2 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1172, allocations: 195.1 kB / 476.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1172, allocations: 12 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1175, allocations: 139.8 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1176, allocations: 91.53 kB / 476.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1178, allocations: 188.6 kB / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.1183, allocations: 410.6 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1183, allocations: 0 / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1183, allocations: 3.984 kB / 476.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1183, allocations: 4 kB / 476.9 MB, free: 8.59 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.0009316/0.1192, allocations: 0.5851 MB / 477.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1193, allocations: 12.03 kB / 477.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.1194, allocations: 78.72 kB / 477.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.1195, allocations: 44.38 kB / 477.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1198, allocations: 271.7 kB / 477.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1198, allocations: 33.36 kB / 478 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.1199, allocations: 36.38 kB / 478 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.1207, allocations: 0.5647 MB / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1207, allocations: 0 / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.1208, allocations: 19.98 kB / 478.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.1208, allocations: 40.91 kB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.1218, allocations: 0.5816 MB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1235, allocations: 1.175 MB / 480.4 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.1241, allocations: 382.2 kB / 480.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1244, allocations: 144.8 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1244, allocations: 7.984 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1245, allocations: 38.56 kB / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.1245, allocations: 0 / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000943/0.1254, allocations: 478.1 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1255, allocations: 59.42 kB / 481.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.1259, allocations: 453.6 kB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.126, allocations: 25.7 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1261, allocations: 192.3 kB / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.1262, allocations: 74.91 kB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.1262, allocations: 25.72 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1264, allocations: 350.7 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.1266, allocations: 119.9 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1269, allocations: 129.9 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.1274, allocations: 275.6 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1274, allocations: 3.984 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006077/0.128, allocations: 349 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.128, allocations: 11.88 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.128, allocations: 3.938 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1281, allocations: 4 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.1288, allocations: 151.9 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.1316, allocations: 5.528 MB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1319, allocations: 51.39 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.1319, allocations: 15.98 kB / 489.2 MB, free: 11.91 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.0001891/0.1321, allocations: 193.9 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.1322, allocations: 35.53 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008653/0.133, allocations: 464.5 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.1331, allocations: 4 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1331, allocations: 0 / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1331, allocations: 3.938 kB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1335, allocations: 381.2 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1335, allocations: 7.984 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.1342, allocations: 151.9 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1342, allocations: 3.984 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1342, allocations: 8 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.1369, allocations: 5.52 MB / 495.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1369, allocations: 4.219 kB / 495.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.1377, allocations: 466.2 kB / 496.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1378, allocations: 116.6 kB / 496.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.1379, allocations: 4 kB / 496.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1381, allocations: 12 kB / 496.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.1382, allocations: 31.84 kB / 496.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1382, allocations: 11.98 kB / 496.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.1385, allocations: 339.1 kB / 496.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1385, allocations: 0 / 496.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1389, allocations: 95.91 kB / 497 MB, free: 3.797 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.001016/0.14, allocations: 1.021 MB / 498 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.141, allocations: 412.5 kB / 498.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1411, allocations: 0 / 498.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.1418, allocations: 292.9 kB / 498.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1424, allocations: 73.52 kB / 498.8 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.1479, allocations: 4.591 MB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1483, allocations: 0.8465 MB / 0.4924 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.1485, allocations: 83.22 kB / 0.4925 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1487, allocations: 107.4 kB / 0.4926 GB, free: 12.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1487, allocations: 0 / 0.4926 GB, free: 12.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.1839, allocations: 10.7 MB / 0.503 GB, free: 1.883 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.1843, allocations: 286.1 kB / 0.5033 GB, free: 1.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.243, allocations: 0 / 0.5033 GB, free: 1.496 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