Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001204/0.001203, allocations: 109.5 kB / 17.78 MB, free: 5.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.001394/0.001394, allocations: 188.8 kB / 18.71 MB, free: 4.348 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2073/0.2073, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3535, allocations: 60.81 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003521/0.3571, allocations: 2.189 MB / 0.5206 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3585, allocations: 1.06 MB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.3586, allocations: 1.125 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3589, allocations: 88.12 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3592, allocations: 87.05 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3595, allocations: 117.6 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3598, allocations: 178.2 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.382e-05/0.3599, allocations: 19.41 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.36, allocations: 76.23 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3602, allocations: 75.98 kB / 0.5222 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3602, allocations: 10.56 kB / 0.5222 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.3607, allocations: 262.7 kB / 0.5225 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.3608, allocations: 34.91 kB / 0.5225 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.3609, allocations: 78.62 kB / 0.5226 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.3614, allocations: 332.8 kB / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3614, allocations: 1.25 kB / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3614, allocations: 0 / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3614, allocations: 0 / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005936/0.362, allocations: 0.4933 MB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.362, allocations: 9.188 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.3621, allocations: 59.8 kB / 0.5235 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.3622, allocations: 24.12 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3624, allocations: 217.1 kB / 0.5237 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3624, allocations: 18.03 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3624, allocations: 20.62 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.3628, allocations: 225.3 kB / 0.5239 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3629, allocations: 1.281 kB / 0.5239 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3629, allocations: 10.19 kB / 0.524 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3629, allocations: 4.844 kB / 0.524 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.3634, allocations: 250.7 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009997/0.3644, allocations: 0.6175 MB / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3646, allocations: 99.56 kB / 0.5249 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3648, allocations: 47.66 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3648, allocations: 5.281 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3649, allocations: 36.27 kB / 0.525 GB, free: 14.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3649, allocations: 0 / 0.525 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004993/0.3654, allocations: 165.8 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.3654, allocations: 57.34 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.3657, allocations: 265.3 kB / 0.5255 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3657, allocations: 27.08 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3659, allocations: 169.7 kB / 0.5256 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3659, allocations: 36.09 kB / 0.5257 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.366, allocations: 47.58 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3661, allocations: 339.5 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3663, allocations: 54.86 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3665, allocations: 139.5 kB / 0.5262 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.3668, allocations: 212.2 kB / 0.5264 GB, free: 13.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3669, allocations: 10.12 kB / 0.5264 GB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000477/0.3673, allocations: 233.5 kB / 0.5267 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3674, allocations: 9.828 kB / 0.5267 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3674, allocations: 11.5 kB / 0.5267 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3674, allocations: 5.688 kB / 0.5267 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.3678, allocations: 80.83 kB / 0.5268 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006916/0.3685, allocations: 1.22 MB / 0.528 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3687, allocations: 42.97 kB / 0.528 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3687, allocations: 15.64 kB / 0.528 GB, free: 12.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.3689, allocations: 131.9 kB / 0.5281 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3689, allocations: 21.94 kB / 0.5282 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.3694, allocations: 172.6 kB / 0.5283 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3694, allocations: 1.344 kB / 0.5283 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3694, allocations: 0 / 0.5283 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3694, allocations: 2.062 kB / 0.5283 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.37, allocations: 453.3 kB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.37, allocations: 1.375 kB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.3703, allocations: 55.12 kB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3703, allocations: 1.375 kB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3703, allocations: 3.453 kB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006452/0.371, allocations: 1.219 MB / 0.53 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.371, allocations: 1.938 kB / 0.53 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3713, allocations: 250 kB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.3714, allocations: 101.9 kB / 0.5303 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3715, allocations: 6.125 kB / 0.5304 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3716, allocations: 8.812 kB / 0.5304 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3717, allocations: 9.484 kB / 0.5304 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3717, allocations: 8.125 kB / 0.5304 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3719, allocations: 186 kB / 0.5306 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3719, allocations: 3.938 kB / 0.5306 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.3723, allocations: 63.38 kB / 0.5306 GB, free: 10.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007723/0.373, allocations: 0.8225 MB / 0.5314 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3736, allocations: 172.9 kB / 0.5316 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3736, allocations: 1.25 kB / 0.5316 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3739, allocations: 89.95 kB / 0.5317 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3743, allocations: 30.23 kB / 0.5317 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.3773, allocations: 2.547 MB / 0.5342 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3777, allocations: 0.7346 MB / 0.5349 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.737e-05/0.3778, allocations: 19.8 kB / 0.5349 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.3779, allocations: 62.09 kB / 0.535 GB, free: 6.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3779, allocations: 0 / 0.535 GB, free: 6.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4059, allocations: 6.236 MB / 0.5411 GB, free: 3.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.52, allocations: 18.05 kB / 0.5411 GB, free: 3.363 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches