Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001999, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.002561, allocations: 79.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.38, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002982/0.383, allocations: 1.832 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3846, allocations: 1.015 MB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.3848, allocations: 6.5 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.385, allocations: 47.95 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.3853, allocations: 62.31 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3857, allocations: 128.1 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.386, allocations: 210.8 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.3861, allocations: 15.27 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.3863, allocations: 96.23 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3865, allocations: 98.09 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3865, allocations: 13.56 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.3868, allocations: 121.7 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.3869, allocations: 57.67 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.387, allocations: 77.66 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.3874, allocations: 254.8 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3874, allocations: 0 / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3874, allocations: 1.375 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3874, allocations: 0 / 0.5344 GB, free: 10.47 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.3884, allocations: 0.5286 MB / 0.535 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3885, allocations: 9.625 kB / 0.535 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3885, allocations: 48.23 kB / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3889, allocations: 54.36 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3892, allocations: 232.8 kB / 0.5353 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3892, allocations: 12.86 kB / 0.5353 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3892, allocations: 12.53 kB / 0.5353 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.3897, allocations: 270.9 kB / 0.5356 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3898, allocations: 0 / 0.5356 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3898, allocations: 9.156 kB / 0.5356 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.3898, allocations: 18.22 kB / 0.5356 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.3904, allocations: 222.6 kB / 0.5358 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3916, allocations: 0.809 MB / 0.5366 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.392, allocations: 189.6 kB / 0.5368 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3923, allocations: 109.5 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.3924, allocations: 6.391 kB / 0.5369 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3924, allocations: 31.88 kB / 0.5369 GB, free: 8.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.3924, allocations: 0 / 0.5369 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009445/0.3934, allocations: 320.8 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3934, allocations: 104.9 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.3937, allocations: 260.3 kB / 0.5376 GB, free: 7.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3937, allocations: 30.92 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3938, allocations: 137 kB / 0.5377 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3939, allocations: 31.94 kB / 0.5378 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.394, allocations: 40.56 kB / 0.5378 GB, free: 7.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3941, allocations: 332.2 kB / 0.5381 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3944, allocations: 94.73 kB / 0.5382 GB, free: 7.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3946, allocations: 136.3 kB / 0.5383 GB, free: 7.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.3952, allocations: 222.1 kB / 0.5386 GB, free: 7.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3952, allocations: 1.312 kB / 0.5386 GB, free: 7.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006813/0.3959, allocations: 284.4 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3959, allocations: 5.719 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.3959, allocations: 14.86 kB / 0.5388 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3959, allocations: 1.469 kB / 0.5388 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3962, allocations: 41.64 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3962, allocations: 3.281 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3964, allocations: 37.72 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3965, allocations: 18 kB / 0.5389 GB, free: 6.938 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.0001354/0.3966, allocations: 141.3 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.3967, allocations: 16.81 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.3971, allocations: 222.6 kB / 0.5393 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3972, allocations: 5.406 kB / 0.5393 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3972, allocations: 1.281 kB / 0.5393 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3972, allocations: 1.281 kB / 0.5393 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.3976, allocations: 258.8 kB / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.3976, allocations: 6.75 kB / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3978, allocations: 34.98 kB / 0.5396 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3978, allocations: 1.156 kB / 0.5396 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3978, allocations: 3.344 kB / 0.5396 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3978, allocations: 1.156 kB / 0.5396 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3978, allocations: 9.016 kB / 0.5396 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.3985, allocations: 485.9 kB / 0.5401 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3985, allocations: 96.52 kB / 0.5402 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.3986, allocations: 9.047 kB / 0.5402 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3988, allocations: 18.3 kB / 0.5402 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.3989, allocations: 14.42 kB / 0.5402 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3989, allocations: 12.58 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.3991, allocations: 189.1 kB / 0.5404 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3991, allocations: 1.25 kB / 0.5404 GB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.3996, allocations: 73.67 kB / 0.5405 GB, free: 5.734 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.001121/0.4007, allocations: 1.06 MB / 0.5415 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.4014, allocations: 293.7 kB / 0.5418 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4014, allocations: 0 / 0.5418 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.4017, allocations: 183.2 kB / 0.542 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4022, allocations: 53.36 kB / 0.542 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.4063, allocations: 2.82 MB / 0.5448 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4066, allocations: 0.7402 MB / 0.5455 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.4068, allocations: 42.08 kB / 0.5455 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4069, allocations: 53.48 kB / 0.5456 GB, free: 1.574 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4069, allocations: 0 / 0.5456 GB, free: 1.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.4296, allocations: 5.956 MB / 0.5514 GB, free: 11.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.147, allocations: 5.016 kB / 0.5514 GB, free: 11.92 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches