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.001437/0.001437, allocations: 118.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002378/0.002378, allocations: 197.2 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.395/1.395, 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.1986/0.1986, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 75.88 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3371, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002948/0.3401, allocations: 1.824 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3418, allocations: 1.024 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.3419, allocations: 0 / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.3422, allocations: 49.3 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.3425, allocations: 66.66 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3428, allocations: 123.2 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3431, allocations: 211.5 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.3432, allocations: 19.17 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3434, allocations: 88.88 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3435, allocations: 110 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3436, allocations: 8.25 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.3438, allocations: 121.7 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.3439, allocations: 53.75 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.344, allocations: 85.53 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3444, allocations: 256.3 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3444, allocations: 0 / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3444, allocations: 0 / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3444, allocations: 0 / 0.5345 GB, free: 10.44 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.001011/0.3454, allocations: 0.5256 MB / 0.535 GB, free: 9.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3455, allocations: 9.344 kB / 0.535 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.32e-05/0.3456, allocations: 48.42 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.346, allocations: 50.5 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3463, allocations: 232.2 kB / 0.5353 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3463, allocations: 9.031 kB / 0.5353 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.3463, allocations: 12.31 kB / 0.5353 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.3469, allocations: 282.5 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3469, allocations: 1.156 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3469, allocations: 1.188 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.347, allocations: 9.984 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.3476, allocations: 226.3 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3487, allocations: 0.8204 MB / 0.5366 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.3492, allocations: 186.2 kB / 0.5368 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.3494, allocations: 104.7 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.3495, allocations: 6.141 kB / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3495, allocations: 36.84 kB / 0.5369 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3495, allocations: 0 / 0.5369 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009753/0.3505, allocations: 312.2 kB / 0.5372 GB, free: 8.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3506, allocations: 108.8 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3509, allocations: 264.8 kB / 0.5376 GB, free: 7.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3509, allocations: 25.7 kB / 0.5376 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.351, allocations: 133.8 kB / 0.5377 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.3511, allocations: 40.39 kB / 0.5378 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.3511, allocations: 35.83 kB / 0.5378 GB, free: 7.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3513, allocations: 336.2 kB / 0.5381 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.3516, allocations: 95.05 kB / 0.5382 GB, free: 7.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.3519, allocations: 132.7 kB / 0.5383 GB, free: 7.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.3524, allocations: 227.1 kB / 0.5386 GB, free: 7.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3524, allocations: 0 / 0.5386 GB, free: 7.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006453/0.3531, allocations: 284.5 kB / 0.5388 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3531, allocations: 5.469 kB / 0.5388 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.3532, allocations: 10.41 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3532, allocations: 2.281 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3534, allocations: 42.17 kB / 0.5389 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3534, allocations: 2.031 kB / 0.5389 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3536, allocations: 34.2 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3537, allocations: 17.42 kB / 0.5389 GB, free: 6.922 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.0001243/0.3538, allocations: 142.2 kB / 0.5391 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.3539, allocations: 16.34 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.3544, allocations: 222.6 kB / 0.5393 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3544, allocations: 5.969 kB / 0.5393 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3544, allocations: 1.219 kB / 0.5393 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3544, allocations: 5.094 kB / 0.5393 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3549, allocations: 263.6 kB / 0.5396 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.3549, allocations: 10.25 kB / 0.5396 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3551, allocations: 27.5 kB / 0.5396 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3551, allocations: 1.438 kB / 0.5396 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3551, allocations: 6.422 kB / 0.5396 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3551, allocations: 1.375 kB / 0.5396 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3551, allocations: 1.312 kB / 0.5396 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.3558, allocations: 488.3 kB / 0.5401 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.3559, allocations: 97.52 kB / 0.5402 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.356, allocations: 1.156 kB / 0.5402 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.3562, allocations: 27.16 kB / 0.5402 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.3563, allocations: 21.53 kB / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3563, allocations: 3.906 kB / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3565, allocations: 194.6 kB / 0.5404 GB, free: 5.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3565, allocations: 0 / 0.5404 GB, free: 5.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000436/0.3569, allocations: 74.64 kB / 0.5405 GB, free: 5.711 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.001114/0.3581, allocations: 1.06 MB / 0.5415 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.3587, allocations: 293.3 kB / 0.5418 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3587, allocations: 1.125 kB / 0.5418 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.359, allocations: 178 kB / 0.542 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3596, allocations: 43.27 kB / 0.542 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.3634, allocations: 2.817 MB / 0.5448 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3637, allocations: 0.7474 MB / 0.5455 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3638, allocations: 35.62 kB / 0.5455 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.3639, allocations: 53.47 kB / 0.5456 GB, free: 1.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3639, allocations: 4 kB / 0.5456 GB, free: 1.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3865, allocations: 5.959 MB / 0.5514 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.094, allocations: 9.016 kB / 0.5514 GB, free: 11.89 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