Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.001766/0.001766, allocations: 109 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.12 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 76.47 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002919/0.1118, allocations: 1.77 MB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.113, allocations: 0.7479 MB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.1131, allocations: 0 / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1134, allocations: 35.81 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1136, allocations: 55.8 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1138, allocations: 66.92 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.114, allocations: 151.3 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.1141, allocations: 9.406 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1142, allocations: 63.7 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1144, allocations: 87.66 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1144, allocations: 4 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1146, allocations: 79.81 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.1146, allocations: 47.88 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1147, allocations: 59.61 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.115, allocations: 183.6 kB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.115, allocations: 0 / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.115, allocations: 0 / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.115, allocations: 0 / 483 MB, free: 2.133 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006605/0.1157, allocations: 466.8 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1157, allocations: 11.97 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.1158, allocations: 42.73 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.1164, allocations: 84.64 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1167, allocations: 228 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1167, allocations: 8.375 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.1168, allocations: 8.375 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.1173, allocations: 303.9 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1173, allocations: 0 / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1174, allocations: 3.984 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1174, allocations: 27.92 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.118, allocations: 295.6 kB / 484.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1193, allocations: 0.7043 MB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.1198, allocations: 282.2 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.12, allocations: 104.8 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1201, allocations: 8 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1201, allocations: 38.55 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1201, allocations: 0 / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007923/0.1209, allocations: 345.1 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1209, allocations: 51.41 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1211, allocations: 234.3 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1212, allocations: 25.7 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.1213, allocations: 120.1 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1213, allocations: 47.3 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.1214, allocations: 49.67 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1216, allocations: 326.8 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1218, allocations: 95.88 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1221, allocations: 133.5 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.1226, allocations: 247 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1226, allocations: 0 / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006255/0.1232, allocations: 296.8 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1232, allocations: 8 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1232, allocations: 0 / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1233, allocations: 0 / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02137/0.1446, allocations: 0.9319 MB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/0.1691, allocations: 10.73 MB / 499.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.1694, allocations: 23.83 kB / 499.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1695, allocations: 7.984 kB / 499.2 MB, free: 0.8203 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.1697, allocations: 150.2 kB / 499.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.1697, allocations: 19.88 kB / 499.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007331/0.1771, allocations: 0.6298 MB / 500 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1771, allocations: 0 / 500 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1771, allocations: 4 kB / 500 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1771, allocations: 0 / 500 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.1775, allocations: 277.3 kB / 0.4885 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1775, allocations: 0 / 0.4885 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.1777, allocations: 35.97 kB / 0.4885 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005655/0.1834, allocations: 310 kB / 0.4888 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.1834, allocations: 7.984 kB / 0.4888 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.2011, allocations: 10.31 MB / 0.4989 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2012, allocations: 0 / 0.4989 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/0.2084, allocations: 0.6797 MB / 0.4996 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.2085, allocations: 104.8 kB / 0.4997 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2086, allocations: 4 kB / 0.4997 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.2089, allocations: 7.984 kB / 0.4997 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.2091, allocations: 51.84 kB / 0.4997 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.2091, allocations: 11.98 kB / 0.4998 GB, free: 3.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2093, allocations: 163.2 kB / 0.4999 GB, free: 3.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2093, allocations: 4 kB / 0.4999 GB, free: 3.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.2098, allocations: 92 kB / 0.5 GB, free: 2.996 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007579/0.2174, allocations: 1.229 MB / 0.5012 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02261/0.24, allocations: 1.143 MB / 0.5023 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.2401, allocations: 0 / 0.5023 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.2422, allocations: 0.5349 MB / 0.5028 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1848/0.4271, allocations: 27.59 kB / 0.5029 GB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.4331, allocations: 2.819 MB / 0.5056 GB, free: 39.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4334, allocations: 0.7501 MB / 0.5064 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4335, allocations: 48.53 kB / 0.5064 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.4336, allocations: 53.47 kB / 0.5064 GB, free: 39.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4336, allocations: 1.25 kB / 0.5065 GB, free: 39.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.4606, allocations: 9.673 MB / 0.5159 GB, free: 37.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.4608, allocations: 272.8 kB / 0.5162 GB, free: 37.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.794, allocations: 3.094 kB / 0.5162 GB, free: 37.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches