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.001195/0.001195, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 201.2 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.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2886/0.2886, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3346, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002701/0.3373, allocations: 1.698 MB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.339, allocations: 1.275 MB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.3391, allocations: 0.9688 kB / 0.5334 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3393, allocations: 33.27 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.3396, allocations: 63.31 kB / 0.5335 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.34, allocations: 188.1 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3403, allocations: 145.1 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.3403, allocations: 25.92 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.3404, allocations: 56.73 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3405, allocations: 73.73 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3406, allocations: 5.25 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.3409, allocations: 170.6 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.341, allocations: 49.97 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.341, allocations: 62.98 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.3414, allocations: 237.7 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3414, allocations: 1.375 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3414, allocations: 0 / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3414, allocations: 0 / 0.5345 GB, free: 10.35 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.0006677/0.3421, allocations: 473.9 kB / 0.5349 GB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3421, allocations: 13.62 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.3422, allocations: 52.17 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.3438, allocations: 196.6 kB / 0.5352 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.3441, allocations: 233.3 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3442, allocations: 8.672 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.3442, allocations: 14.5 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.3448, allocations: 363.4 kB / 0.5358 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3448, allocations: 0 / 0.5358 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.3449, allocations: 9.203 kB / 0.5358 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.3449, allocations: 17.45 kB / 0.5358 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.3456, allocations: 368.6 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3471, allocations: 0.8 MB / 0.5369 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.3477, allocations: 348.2 kB / 0.5373 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.348, allocations: 126.8 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.3481, allocations: 2.25 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3481, allocations: 31.75 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3481, allocations: 4 kB / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009675/0.3491, allocations: 423.4 kB / 0.5378 GB, free: 7.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3491, allocations: 56.22 kB / 0.5379 GB, free: 7.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.3494, allocations: 222.1 kB / 0.5381 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3494, allocations: 29.69 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3495, allocations: 120.3 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3495, allocations: 44.95 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3496, allocations: 57.66 kB / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3498, allocations: 332 kB / 0.5387 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.35, allocations: 125 kB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.3503, allocations: 149.7 kB / 0.5389 GB, free: 7.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3509, allocations: 300 kB / 0.5392 GB, free: 6.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3509, allocations: 0 / 0.5392 GB, free: 6.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007479/0.3517, allocations: 347 kB / 0.5395 GB, free: 6.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3517, allocations: 11.56 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3517, allocations: 1.094 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3517, allocations: 2.75 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02273/0.3745, allocations: 1.466 MB / 0.541 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03753/0.412, allocations: 12.33 MB / 0.553 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.4124, allocations: 31.92 kB / 0.5531 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.4125, allocations: 19.97 kB / 0.5531 GB, free: 9.477 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.0001832/0.4127, allocations: 137.8 kB / 0.5532 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.4128, allocations: 15.81 kB / 0.5532 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.291e-05/0.4129, allocations: 29.52 kB / 0.5533 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4129, allocations: 7.938 kB / 0.5533 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4129, allocations: 4 kB / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4129, allocations: 112 / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.4132, allocations: 293.3 kB / 0.5535 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4133, allocations: 0 / 0.5535 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02253/0.4358, allocations: 1.459 MB / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.4358, allocations: 0 / 0.555 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.4359, allocations: 15.95 kB / 0.555 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03806/0.474, allocations: 12.32 MB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.474, allocations: 4.031 kB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.4748, allocations: 418.9 kB / 0.5674 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.4749, allocations: 92.91 kB / 0.5675 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.475, allocations: 4 kB / 0.5675 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4753, allocations: 12.06 kB / 0.5675 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.4755, allocations: 55.86 kB / 0.5676 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.4756, allocations: 23.89 kB / 0.5676 GB, free: 9.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.4758, allocations: 163.2 kB / 0.5678 GB, free: 9.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4758, allocations: 0 / 0.5678 GB, free: 9.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007688/0.4765, allocations: 124 kB / 0.5679 GB, free: 9.379 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.001123/0.4777, allocations: 0.9808 MB / 0.5688 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01934/0.497, allocations: 1.408 MB / 0.5702 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.4971, allocations: 4 kB / 0.5702 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01888/0.516, allocations: 1.279 MB / 0.5715 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.5164, allocations: 38.92 kB / 0.5715 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5204, allocations: 2.716 MB / 0.5742 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.5208, allocations: 0.7436 MB / 0.5749 GB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.521, allocations: 53.5 kB / 0.5749 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5211, allocations: 43.42 kB / 0.575 GB, free: 1.961 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5211, allocations: 0 / 0.575 GB, free: 1.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.5517, allocations: 8.74 MB / 0.5835 GB, free: 9.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.03, allocations: 14.77 kB / 0.5835 GB, free: 9.441 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