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.001077/0.001077, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001103/0.001103, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.328/1.328, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2154/0.2154, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.19 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 60.83 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003189/0.1055, allocations: 2.004 MB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1069, allocations: 0.8996 MB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.107, allocations: 7.938 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1073, allocations: 63.66 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1077, allocations: 119.4 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.108, allocations: 83.66 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1084, allocations: 382.2 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.1085, allocations: 44.72 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.1087, allocations: 147.2 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.109, allocations: 183.1 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.109, allocations: 16 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1093, allocations: 151.7 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1094, allocations: 95.53 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1096, allocations: 154.9 kB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.11, allocations: 422.6 kB / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1101, allocations: 0 / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1101, allocations: 0 / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1101, allocations: 4 kB / 474.1 MB, free: 9.473 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.000963/0.111, allocations: 0.6514 MB / 474.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1111, allocations: 8.031 kB / 474.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.1112, allocations: 82.7 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.1113, allocations: 40.47 kB / 474.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1116, allocations: 291.2 kB / 475.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1116, allocations: 25.38 kB / 475.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.1117, allocations: 40.36 kB / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.1125, allocations: 0.5608 MB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1125, allocations: 0 / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.1125, allocations: 16 kB / 475.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.1126, allocations: 36.97 kB / 475.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.1135, allocations: 0.5698 MB / 476.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1152, allocations: 1.175 MB / 477.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.1159, allocations: 370.2 kB / 478 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.1162, allocations: 136.9 kB / 478.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1162, allocations: 11.98 kB / 478.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1162, allocations: 38.56 kB / 478.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.1162, allocations: 0 / 478.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009753/0.1172, allocations: 466.3 kB / 478.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1173, allocations: 55.41 kB / 478.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.1177, allocations: 457.6 kB / 479.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1178, allocations: 25.7 kB / 479.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1179, allocations: 196.3 kB / 479.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.118, allocations: 74.91 kB / 479.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.1181, allocations: 53.69 kB / 479.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1182, allocations: 358.7 kB / 479.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.1184, allocations: 111.9 kB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.1187, allocations: 119.9 kB / 480 MB, free: 3.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.1192, allocations: 266.7 kB / 480.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1193, allocations: 0 / 480.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006495/0.1199, allocations: 348.1 kB / 480.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1199, allocations: 7.938 kB / 480.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.12, allocations: 4 kB / 480.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.12, allocations: 0 / 480.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.1207, allocations: 159.9 kB / 480.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.1236, allocations: 5.508 MB / 486.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1238, allocations: 55.69 kB / 486.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1239, allocations: 15.97 kB / 486.4 MB, free: 12.78 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.0001961/0.1241, allocations: 189.7 kB / 486.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1241, allocations: 35.62 kB / 486.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008596/0.125, allocations: 456.3 kB / 487 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.125, allocations: 4 kB / 487 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.125, allocations: 0 / 487 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1251, allocations: 7.984 kB / 487 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.1255, allocations: 377.2 kB / 487.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1256, allocations: 4 kB / 487.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.1262, allocations: 155.9 kB / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1262, allocations: 0 / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.1263, allocations: 11.98 kB / 487.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.1293, allocations: 5.509 MB / 493.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1293, allocations: 3.938 kB / 493.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.1301, allocations: 457.7 kB / 493.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1302, allocations: 120.6 kB / 493.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.1303, allocations: 0 / 493.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1305, allocations: 11.98 kB / 493.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.1306, allocations: 27.86 kB / 493.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.1306, allocations: 11.98 kB / 493.7 MB, free: 5.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.131, allocations: 335.1 kB / 494 MB, free: 4.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 494 MB, free: 4.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.1314, allocations: 96 kB / 494.1 MB, free: 4.707 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.00123/0.1326, allocations: 1.02 MB / 495.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.1338, allocations: 436.7 kB / 495.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1338, allocations: 0 / 495.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.1346, allocations: 275.7 kB / 495.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.1352, allocations: 89.42 kB / 495.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.1411, allocations: 4.448 MB / 0.4887 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.1416, allocations: 0.8465 MB / 0.4895 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.1419, allocations: 83.22 kB / 0.4896 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.1421, allocations: 119.4 kB / 0.4897 GB, free: 13.28 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1421, allocations: 0 / 0.4897 GB, free: 13.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.173, allocations: 11.34 MB / 0.5007 GB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.27, allocations: 13.28 kB / 0.5008 GB, free: 2.195 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