Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.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.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009079/0.000908, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 226.5 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00075/0.00075, allocations: 103 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3012/0.3012, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 11.94 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 62.97 MB / 0.516 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001382/0.2665, allocations: 1.39 MB / 0.5173 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2677, allocations: 1.141 MB / 0.5185 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2677, allocations: 0 / 0.5185 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2679, allocations: 31.56 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2681, allocations: 60.64 kB / 0.5185 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2684, allocations: 158.7 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.2686, allocations: 197.8 kB / 0.5189 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.2687, allocations: 14.89 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.2687, allocations: 58.97 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2689, allocations: 75.06 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2689, allocations: 7 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.2691, allocations: 166.6 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.2692, allocations: 46.09 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.2692, allocations: 85.86 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2694, allocations: 159.1 kB / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2694, allocations: 0 / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2695, allocations: 0 / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2695, allocations: 0 / 0.5195 GB, free: 34.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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004835/0.27, allocations: 449.5 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.27, allocations: 12.44 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.27, allocations: 45.02 kB / 0.52 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.2716, allocations: 194.8 kB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.2718, allocations: 247.6 kB / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2718, allocations: 6.5 kB / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.2719, allocations: 14.3 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.2724, allocations: 363.5 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2724, allocations: 4 kB / 0.5207 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2724, allocations: 4 kB / 0.5207 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.2725, allocations: 20.36 kB / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.273, allocations: 383.8 kB / 0.5211 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2743, allocations: 0.7917 MB / 0.5219 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.2748, allocations: 355.7 kB / 0.5222 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.275, allocations: 129.1 kB / 0.5224 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.275, allocations: 2.906 kB / 0.5224 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2751, allocations: 34.56 kB / 0.5224 GB, free: 33.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.2751, allocations: 0 / 0.5224 GB, free: 33.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008016/0.2759, allocations: 446.9 kB / 0.5228 GB, free: 33.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.2759, allocations: 54.25 kB / 0.5229 GB, free: 33.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2761, allocations: 226 kB / 0.5231 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2761, allocations: 29.7 kB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.2761, allocations: 119.2 kB / 0.5232 GB, free: 32.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.2762, allocations: 48.52 kB / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.2762, allocations: 7.062 kB / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.2763, allocations: 324.6 kB / 0.5236 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2765, allocations: 127 kB / 0.5237 GB, free: 32.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2767, allocations: 157 kB / 0.5239 GB, free: 32.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.2772, allocations: 307.6 kB / 0.5242 GB, free: 32.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2772, allocations: 0 / 0.5242 GB, free: 32.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005769/0.2778, allocations: 361.2 kB / 0.5245 GB, free: 32.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2778, allocations: 4.906 kB / 0.5245 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2778, allocations: 0 / 0.5245 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2779, allocations: 3.094 kB / 0.5245 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02313/0.301, allocations: 1.378 MB / 0.5259 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03499/0.336, allocations: 11.32 MB / 0.5369 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.3364, allocations: 29.8 kB / 0.537 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.3365, allocations: 16.67 kB / 0.537 GB, free: 23.7 MB / 378.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.3366, allocations: 146.4 kB / 0.5371 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.3367, allocations: 18.39 kB / 0.5371 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.3368, allocations: 33.81 kB / 0.5372 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3368, allocations: 2.188 kB / 0.5372 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3368, allocations: 0.9062 kB / 0.5372 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3368, allocations: 4.516 kB / 0.5372 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.3371, allocations: 288.6 kB / 0.5374 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3371, allocations: 3.938 kB / 0.5374 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02382/0.361, allocations: 1.374 MB / 0.5388 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.361, allocations: 3.938 kB / 0.5388 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.3611, allocations: 17.5 kB / 0.5388 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03617/0.3973, allocations: 11.32 MB / 0.5499 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3973, allocations: 9.5 kB / 0.5499 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.3982, allocations: 424.4 kB / 0.5503 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.3983, allocations: 95.88 kB / 0.5504 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.3984, allocations: 4 kB / 0.5504 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.3987, allocations: 8.031 kB / 0.5504 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.399, allocations: 64.77 kB / 0.5504 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.399, allocations: 17.64 kB / 0.5505 GB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3992, allocations: 169.1 kB / 0.5506 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3992, allocations: 1.406 kB / 0.5506 GB, free: 13.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007641/0.4, allocations: 121.9 kB / 0.5507 GB, free: 13.63 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009131/0.4009, allocations: 0.9837 MB / 0.5517 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0195/0.4204, allocations: 1.245 MB / 0.5529 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4204, allocations: 0 / 0.5529 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01896/0.4394, allocations: 1.108 MB / 0.554 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4399, allocations: 40.69 kB / 0.554 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.4424, allocations: 1.503 MB / 0.5555 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4425, allocations: 0.7348 MB / 0.5562 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.4426, allocations: 42.2 kB / 0.5563 GB, free: 10.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4426, allocations: 0 / 0.5563 GB, free: 10.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.046/4.488, allocations: 7.855 MB / 0.5639 GB, free: 5.93 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches