Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 76.91 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 62.44 MB / 480.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003188/0.1151, allocations: 2.14 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1169, allocations: 1.402 MB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.117, allocations: 4 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1173, allocations: 87.44 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1175, allocations: 63.41 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.118, allocations: 211.1 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1182, allocations: 147 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1182, allocations: 12.31 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1184, allocations: 67.58 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.1185, allocations: 59.59 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1185, allocations: 8 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.1191, allocations: 435.3 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1192, allocations: 19.86 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.1192, allocations: 79.41 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.1198, allocations: 430.5 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1198, allocations: 4 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1198, allocations: 0 / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1198, allocations: 0 / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005805/0.1204, allocations: 0.4908 MB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1204, allocations: 12.03 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1205, allocations: 54.67 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1205, allocations: 20.75 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1207, allocations: 212 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1207, allocations: 20.31 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1208, allocations: 19.94 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1211, allocations: 199.8 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1212, allocations: 0 / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1212, allocations: 8 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1212, allocations: 11.94 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1215, allocations: 148.3 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.1223, allocations: 0.5713 MB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1225, allocations: 70.48 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1226, allocations: 28.95 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1226, allocations: 4 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1226, allocations: 34.55 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1226, allocations: 0 / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000448/0.1231, allocations: 133.3 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1231, allocations: 59.41 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.1234, allocations: 258.6 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1234, allocations: 25.7 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1235, allocations: 163.7 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1235, allocations: 19.75 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1236, allocations: 37.61 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1237, allocations: 338.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1239, allocations: 39.97 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.124, allocations: 131.4 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1244, allocations: 188.6 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1244, allocations: 0 / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003907/0.1248, allocations: 197.7 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1248, allocations: 8.062 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.1248, allocations: 16 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1249, allocations: 7.984 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.125, allocations: 27.98 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.125, allocations: 7.938 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1251, allocations: 39.58 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1252, allocations: 8 kB / 488.8 MB, free: 12.09 MB / 366.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.1253, allocations: 133.7 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1253, allocations: 19.81 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.1257, allocations: 138.7 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1257, allocations: 3.938 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1257, allocations: 8 kB / 489.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1257, allocations: 0 / 489.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.126, allocations: 221.5 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.126, allocations: 8 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.126, allocations: 7.984 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.126, allocations: 0 / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1261, allocations: 4 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1261, allocations: 4 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1261, allocations: 0 / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1264, allocations: 211.2 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.1265, allocations: 92.83 kB / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1265, allocations: 0 / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1266, allocations: 11.92 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1266, allocations: 4.188 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.1267, allocations: 4 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1268, allocations: 182 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1268, allocations: 4 kB / 489.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.1272, allocations: 79.88 kB / 490 MB, free: 10.88 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007605/0.1279, allocations: 0.8098 MB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.1284, allocations: 171.5 kB / 490.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1284, allocations: 0 / 490.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.1286, allocations: 100 kB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.129, allocations: 20.88 kB / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.1317, allocations: 2.386 MB / 493.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.132, allocations: 0.728 MB / 494.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.132, allocations: 21.48 kB / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.1321, allocations: 59.41 kB / 494.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1321, allocations: 0 / 494.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1565, allocations: 6.71 MB / 0.4892 GB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.54, allocations: 6.656 kB / 0.4892 GB, free: 15.84 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches