Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_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_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/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 118.8 kB / 17.79 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.001912/0.001912, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3629, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002868/0.3658, allocations: 1.712 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3677, allocations: 1.273 MB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.3678, allocations: 1.125 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3681, allocations: 32.75 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.3684, allocations: 68.47 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3689, allocations: 172.3 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3692, allocations: 153.3 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.3693, allocations: 20.22 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3694, allocations: 60.64 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.3696, allocations: 75.3 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3696, allocations: 4.125 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.37, allocations: 167.4 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.37, allocations: 41.7 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.3701, allocations: 74.97 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.3706, allocations: 237.7 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3706, allocations: 1.375 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3706, allocations: 0 / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3706, allocations: 0 / 0.5345 GB, free: 10.43 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007132/0.3713, allocations: 477.8 kB / 0.535 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3714, allocations: 9.312 kB / 0.535 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.3714, allocations: 48.02 kB / 0.535 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.3733, allocations: 198.4 kB / 0.5352 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3736, allocations: 236.3 kB / 0.5354 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3736, allocations: 12.64 kB / 0.5354 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.3737, allocations: 10.03 kB / 0.5354 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.3743, allocations: 359.8 kB / 0.5358 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3744, allocations: 0 / 0.5358 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.3744, allocations: 9.109 kB / 0.5358 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.3745, allocations: 24.59 kB / 0.5358 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.3752, allocations: 365.2 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.3769, allocations: 0.7969 MB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.3775, allocations: 351.2 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3778, allocations: 124 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3779, allocations: 1.25 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3779, allocations: 35.77 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.3779, allocations: 0 / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009747/0.3789, allocations: 427.7 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3789, allocations: 52.66 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3792, allocations: 229.6 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3792, allocations: 25.7 kB / 0.5381 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.3793, allocations: 120.3 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.3794, allocations: 45.33 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3795, allocations: 57.64 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3796, allocations: 331.6 kB / 0.5387 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.3799, allocations: 121.3 kB / 0.5388 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.3802, allocations: 151.7 kB / 0.5389 GB, free: 7.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.3808, allocations: 298.9 kB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3808, allocations: 0 / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007129/0.3815, allocations: 351.9 kB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3815, allocations: 5.5 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3815, allocations: 1.781 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3816, allocations: 5.594 kB / 0.5396 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02464/0.4062, allocations: 1.458 MB / 0.541 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0399/0.4462, allocations: 12.33 MB / 0.553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.4466, allocations: 27.77 kB / 0.5531 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.4467, allocations: 15.97 kB / 0.5531 GB, free: 9.594 MB / 414.1 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 (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.0001866/0.4469, allocations: 141.9 kB / 0.5532 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.447, allocations: 15.81 kB / 0.5532 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.447, allocations: 37.5 kB / 0.5533 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4471, allocations: 4 kB / 0.5533 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4471, allocations: 0 / 0.5533 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4471, allocations: 0 / 0.5533 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4475, allocations: 297.5 kB / 0.5535 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4475, allocations: 3.938 kB / 0.5535 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02455/0.472, allocations: 1.455 MB / 0.555 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4721, allocations: 4 kB / 0.555 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.4722, allocations: 15.97 kB / 0.555 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03998/0.5121, allocations: 12.33 MB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5122, allocations: 0 / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.5129, allocations: 415 kB / 0.5674 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5131, allocations: 96.91 kB / 0.5675 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.5131, allocations: 4 kB / 0.5675 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.5134, allocations: 19.92 kB / 0.5675 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.5137, allocations: 59.92 kB / 0.5676 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5137, allocations: 19.91 kB / 0.5676 GB, free: 9.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.5139, allocations: 167.2 kB / 0.5678 GB, free: 9.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5139, allocations: 0 / 0.5678 GB, free: 9.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007592/0.5147, allocations: 120 kB / 0.5679 GB, free: 9.477 MB / 430.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 (13): * Single equations (assignments): 7 * 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.001096/0.5158, allocations: 0.9731 MB / 0.5688 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02089/0.5367, allocations: 1.408 MB / 0.5702 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.5367, allocations: 0 / 0.5702 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01986/0.5566, allocations: 1.272 MB / 0.5715 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.5571, allocations: 35.92 kB / 0.5715 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.5611, allocations: 2.731 MB / 0.5742 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5615, allocations: 0.7397 MB / 0.5749 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.5617, allocations: 53.5 kB / 0.5749 GB, free: 2.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.5618, allocations: 47.42 kB / 0.575 GB, free: 2.066 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5618, allocations: 0 / 0.575 GB, free: 2.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.5931, allocations: 8.741 MB / 0.5835 GB, free: 9.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.93, allocations: 19.77 kB / 0.5835 GB, free: 9.547 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches