Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 198.1 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 226.5 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006785/0.0006785, allocations: 86.73 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 44.81 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002272/0.0002272, allocations: 11.98 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2619, allocations: 62.95 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.001669/0.2636, allocations: 1.764 MB / 0.5177 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2652, allocations: 1.6 MB / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.2652, allocations: 2.781 kB / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.2655, allocations: 67.27 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.973e-05/0.2656, allocations: 58.3 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2661, allocations: 273.3 kB / 0.5196 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.2662, allocations: 161.6 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.2663, allocations: 12.78 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.2664, allocations: 56.62 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.2665, allocations: 56.3 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2665, allocations: 3.031 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.2674, allocations: 0.7474 MB / 0.5206 GB, free: 34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.2674, allocations: 27.36 kB / 0.5207 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.2675, allocations: 97 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.2678, allocations: 375.9 kB / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2679, allocations: 4 kB / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2679, allocations: 0 / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.2679, allocations: 0 / 0.5211 GB, free: 33.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000472/0.2683, allocations: 490.8 kB / 0.5216 GB, free: 33.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2684, allocations: 10.56 kB / 0.5216 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2684, allocations: 57.05 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.2685, allocations: 24.22 kB / 0.5217 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2686, allocations: 216.6 kB / 0.5219 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2686, allocations: 14.31 kB / 0.5219 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2687, allocations: 22.53 kB / 0.5219 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.269, allocations: 265.8 kB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.269, allocations: 4 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2691, allocations: 6.625 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2691, allocations: 5.656 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.2693, allocations: 165.4 kB / 0.5224 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.27, allocations: 0.9181 MB / 0.5232 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.2702, allocations: 65.05 kB / 0.5233 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.2703, allocations: 35.7 kB / 0.5233 GB, free: 32.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2704, allocations: 2.875 kB / 0.5233 GB, free: 32.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2704, allocations: 34.56 kB / 0.5234 GB, free: 31.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.2704, allocations: 0 / 0.5234 GB, free: 31.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004002/0.2708, allocations: 158.3 kB / 0.5235 GB, free: 31.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.2708, allocations: 55.41 kB / 0.5236 GB, free: 31.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.271, allocations: 261 kB / 0.5238 GB, free: 31.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.271, allocations: 29.7 kB / 0.5239 GB, free: 31.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.2711, allocations: 178.9 kB / 0.524 GB, free: 31.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.2711, allocations: 24.44 kB / 0.5241 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.2711, allocations: 0 / 0.5241 GB, free: 31.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.2712, allocations: 334.7 kB / 0.5244 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2713, allocations: 52.36 kB / 0.5244 GB, free: 31.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2714, allocations: 188.4 kB / 0.5246 GB, free: 30.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.2717, allocations: 261.8 kB / 0.5249 GB, free: 30.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2717, allocations: 10.91 kB / 0.5249 GB, free: 30.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003843/0.2721, allocations: 261.9 kB / 0.5251 GB, free: 30.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2722, allocations: 7.594 kB / 0.5251 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.2722, allocations: 13.16 kB / 0.5251 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2722, allocations: 9.438 kB / 0.5251 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2723, allocations: 52.56 kB / 0.5252 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2724, allocations: 21.27 kB / 0.5252 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.2725, allocations: 45.05 kB / 0.5253 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2725, allocations: 11.72 kB / 0.5253 GB, free: 30.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.2726, allocations: 133.7 kB / 0.5254 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.2727, allocations: 20.91 kB / 0.5254 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.273, allocations: 148.8 kB / 0.5256 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.273, allocations: 6.844 kB / 0.5256 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.273, allocations: 4 kB / 0.5256 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.273, allocations: 0 / 0.5256 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2732, allocations: 220.8 kB / 0.5258 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.2732, allocations: 10.56 kB / 0.5258 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.2733, allocations: 9.125 kB / 0.5258 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2733, allocations: 0 / 0.5258 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2733, allocations: 4 kB / 0.5258 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2733, allocations: 10.17 kB / 0.5258 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2733, allocations: 0 / 0.5258 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2735, allocations: 217.2 kB / 0.526 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.2736, allocations: 94.48 kB / 0.5261 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2736, allocations: 0 / 0.5261 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2737, allocations: 20.28 kB / 0.5261 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.2738, allocations: 8.359 kB / 0.5261 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2738, allocations: 2.656 kB / 0.5261 GB, free: 29.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.2739, allocations: 180.4 kB / 0.5263 GB, free: 29.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2739, allocations: 0 / 0.5263 GB, free: 29.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.2743, allocations: 98.27 kB / 0.5264 GB, free: 29.71 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006969/0.275, allocations: 0.8492 MB / 0.5272 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.2754, allocations: 210.7 kB / 0.5274 GB, free: 28.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2754, allocations: 0 / 0.5274 GB, free: 28.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2756, allocations: 107.4 kB / 0.5275 GB, free: 28.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2759, allocations: 25.06 kB / 0.5276 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2773, allocations: 1.322 MB / 0.5289 GB, free: 27.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2775, allocations: 0.7362 MB / 0.5296 GB, free: 27.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.2775, allocations: 65.72 kB / 0.5296 GB, free: 27.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2775, allocations: 0 / 0.5296 GB, free: 27.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/3.343, allocations: 5.797 MB / 0.5353 GB, free: 26.71 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches