Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001236/0.00124, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 84.05 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3277, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003798/0.3316, allocations: 2.001 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3332, allocations: 0.8478 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3333, allocations: 1.156 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3337, allocations: 65.69 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.3341, allocations: 116.3 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3343, allocations: 74.69 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3347, allocations: 313.5 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.3348, allocations: 36.94 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.3351, allocations: 131.5 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3353, allocations: 144.2 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.3353, allocations: 7.438 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.3356, allocations: 132.4 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.3357, allocations: 69.62 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3359, allocations: 105.8 kB / 0.5346 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.3364, allocations: 355.2 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3364, allocations: 0 / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3364, allocations: 0 / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3364, allocations: 1.375 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009888/0.3374, allocations: 0.5671 MB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3375, allocations: 9.469 kB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/0.3376, allocations: 74.45 kB / 0.5355 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.3377, allocations: 30.56 kB / 0.5356 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3379, allocations: 247.6 kB / 0.5358 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.338, allocations: 22.3 kB / 0.5358 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.338, allocations: 24.94 kB / 0.5359 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.3387, allocations: 390 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3387, allocations: 0 / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.3388, allocations: 14.2 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.3388, allocations: 29.78 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.3396, allocations: 407.3 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3409, allocations: 0.8745 MB / 0.5375 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.3415, allocations: 274.7 kB / 0.5378 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.3418, allocations: 95.52 kB / 0.5379 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3418, allocations: 6.25 kB / 0.5379 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3418, allocations: 43.61 kB / 0.5379 GB, free: 8.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3418, allocations: 0 / 0.5379 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007663/0.3426, allocations: 329.4 kB / 0.5382 GB, free: 7.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3427, allocations: 62.42 kB / 0.5383 GB, free: 7.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.343, allocations: 345.9 kB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3431, allocations: 29.7 kB / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3432, allocations: 168.1 kB / 0.5388 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.3433, allocations: 58.25 kB / 0.5389 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.3434, allocations: 47.27 kB / 0.5389 GB, free: 7.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3435, allocations: 342 kB / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3437, allocations: 94.72 kB / 0.5393 GB, free: 6.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.344, allocations: 143 kB / 0.5395 GB, free: 6.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3445, allocations: 251.9 kB / 0.5397 GB, free: 6.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3445, allocations: 0 / 0.5397 GB, free: 6.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005599/0.345, allocations: 301.4 kB / 0.54 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3451, allocations: 10.22 kB / 0.54 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3451, allocations: 2.375 kB / 0.54 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3451, allocations: 2.406 kB / 0.54 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3456, allocations: 116.1 kB / 0.5401 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.3479, allocations: 3.673 MB / 0.5437 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3481, allocations: 33.72 kB / 0.5437 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3481, allocations: 12.27 kB / 0.5437 GB, free: 2.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0002047/0.3483, allocations: 174.4 kB / 0.5439 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3484, allocations: 31.28 kB / 0.5439 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006871/0.3491, allocations: 325.6 kB / 0.5443 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.3491, allocations: 1.312 kB / 0.5443 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3491, allocations: 0 / 0.5443 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3491, allocations: 1.219 kB / 0.5443 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3495, allocations: 299.8 kB / 0.5445 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3495, allocations: 5 kB / 0.5445 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.35, allocations: 106.9 kB / 0.5446 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.35, allocations: 5.312 kB / 0.5447 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.35, allocations: 10.75 kB / 0.5447 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3522, allocations: 3.671 MB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3522, allocations: 0 / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.3527, allocations: 357.9 kB / 0.5486 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3529, allocations: 106.2 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3529, allocations: 10.83 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3531, allocations: 3.281 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3531, allocations: 18.64 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3532, allocations: 9.703 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.3535, allocations: 256.2 kB / 0.549 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 0.549 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000367/0.3538, allocations: 71.91 kB / 0.549 GB, free: 14.04 MB / 414.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 (15): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.000984/0.3548, allocations: 0.9084 MB / 0.5499 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.3557, allocations: 316.3 kB / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3558, allocations: 0 / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.3563, allocations: 187.8 kB / 0.5504 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3568, allocations: 72.39 kB / 0.5505 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.3613, allocations: 3.384 MB / 0.5538 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3618, allocations: 0.8064 MB / 0.5546 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.3619, allocations: 54.25 kB / 0.5546 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.362, allocations: 79.41 kB / 0.5547 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3621, allocations: 0 / 0.5547 GB, free: 8.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3949, allocations: 8.558 MB / 0.5631 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 8.844 kB / 0.5631 GB, free: 15.94 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches