Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00212/0.00212, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002143/0.002143, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 79.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3193, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002726/0.3221, allocations: 1.811 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3242, allocations: 1.549 MB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3243, allocations: 1.562 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3245, allocations: 37.25 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.3248, allocations: 71.09 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.3254, allocations: 260.9 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.3257, allocations: 210 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.3258, allocations: 20.55 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.3259, allocations: 92.88 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.3261, allocations: 98.08 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3261, allocations: 8.25 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.3265, allocations: 231 kB / 0.5348 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.3266, allocations: 57.61 kB / 0.5349 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3267, allocations: 77.38 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.3272, allocations: 319.4 kB / 0.5352 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3272, allocations: 0 / 0.5352 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3272, allocations: 7.938 kB / 0.5352 GB, free: 9.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3272, allocations: 1.5 kB / 0.5352 GB, free: 9.887 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.001014/0.3282, allocations: 0.5426 MB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3283, allocations: 9.719 kB / 0.5358 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.3284, allocations: 48.39 kB / 0.5358 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.3287, allocations: 58.22 kB / 0.5359 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.329, allocations: 228.7 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.329, allocations: 13.06 kB / 0.5361 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.329, allocations: 12.5 kB / 0.5361 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.3296, allocations: 274 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.3296, allocations: 1.125 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3296, allocations: 5.062 kB / 0.5364 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3296, allocations: 14.38 kB / 0.5364 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.3302, allocations: 221.6 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.3313, allocations: 0.8092 MB / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.3318, allocations: 194 kB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.3321, allocations: 101 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3321, allocations: 2.312 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3321, allocations: 45 kB / 0.5377 GB, free: 7.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3321, allocations: 0 / 0.5377 GB, free: 7.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001005/0.3332, allocations: 319.7 kB / 0.538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.3332, allocations: 112.8 kB / 0.5382 GB, free: 7.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3335, allocations: 257 kB / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3336, allocations: 34.77 kB / 0.5384 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.3337, allocations: 133.2 kB / 0.5386 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3337, allocations: 40.28 kB / 0.5386 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.3338, allocations: 40.44 kB / 0.5386 GB, free: 7.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3339, allocations: 332.2 kB / 0.5389 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3342, allocations: 94.36 kB / 0.539 GB, free: 6.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.3345, allocations: 128.5 kB / 0.5392 GB, free: 6.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.3351, allocations: 235 kB / 0.5394 GB, free: 6.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3351, allocations: 4 kB / 0.5394 GB, free: 6.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006484/0.3358, allocations: 268.5 kB / 0.5396 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3358, allocations: 5.594 kB / 0.5397 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.3358, allocations: 6.969 kB / 0.5397 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3358, allocations: 6.234 kB / 0.5397 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3361, allocations: 41.38 kB / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3361, allocations: 2.469 kB / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3363, allocations: 38.19 kB / 0.5397 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3364, allocations: 10.12 kB / 0.5398 GB, free: 6.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.3365, allocations: 145.9 kB / 0.5399 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.3366, allocations: 21.08 kB / 0.5399 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.3371, allocations: 226.4 kB / 0.5401 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3371, allocations: 5.188 kB / 0.5401 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3371, allocations: 1.25 kB / 0.5401 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3371, allocations: 1.156 kB / 0.5401 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3375, allocations: 255.6 kB / 0.5404 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.3375, allocations: 13.53 kB / 0.5404 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3377, allocations: 32.05 kB / 0.5404 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3377, allocations: 1.156 kB / 0.5404 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3378, allocations: 11.41 kB / 0.5404 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3378, allocations: 1.125 kB / 0.5404 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3378, allocations: 1.094 kB / 0.5404 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.3384, allocations: 488.8 kB / 0.5409 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.3385, allocations: 93.08 kB / 0.541 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3386, allocations: 10.14 kB / 0.541 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3388, allocations: 13.95 kB / 0.541 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.3389, allocations: 17.36 kB / 0.541 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3389, allocations: 9.422 kB / 0.541 GB, free: 5.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.3391, allocations: 197.8 kB / 0.5412 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 0.5412 GB, free: 5.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3396, allocations: 96.73 kB / 0.5413 GB, free: 5.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.3408, allocations: 1.116 MB / 0.5424 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.3415, allocations: 286.5 kB / 0.5427 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3415, allocations: 4.312 kB / 0.5427 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.3418, allocations: 178.7 kB / 0.5429 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.3423, allocations: 49.25 kB / 0.5429 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3463, allocations: 2.842 MB / 0.5457 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3466, allocations: 0.7514 MB / 0.5464 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.3467, allocations: 37.53 kB / 0.5464 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.3468, allocations: 55.78 kB / 0.5465 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3468, allocations: 0 / 0.5465 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.371, allocations: 6.703 MB / 0.553 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.204, allocations: 5.016 kB / 0.5531 GB, free: 10.27 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches