Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001101/0.001101, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 199.9 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.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 79.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3253, 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_laminar_KC): time 0.00286/0.3282, allocations: 1.709 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3294, allocations: 0.7587 MB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.3295, allocations: 2.188 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3298, allocations: 32.17 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.3301, allocations: 69.33 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3303, allocations: 57.14 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3305, allocations: 154.8 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.3306, allocations: 17.62 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3307, allocations: 63.2 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.331, allocations: 79.3 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.331, allocations: 5.5 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3312, allocations: 71.44 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.3313, allocations: 45.75 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.3314, allocations: 57.56 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3317, allocations: 182.5 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3317, allocations: 0 / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3317, allocations: 0 / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3317, allocations: 1.375 kB / 0.5337 GB, free: 11 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.0007142/0.3324, allocations: 473.7 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3325, allocations: 9.844 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.3326, allocations: 43.23 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005388/0.3331, allocations: 74.94 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3334, allocations: 222.1 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3334, allocations: 8.406 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3334, allocations: 10.94 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.3339, allocations: 258.6 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3339, allocations: 1.219 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.334, allocations: 5.188 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.334, allocations: 16.36 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.3345, allocations: 242.9 kB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3357, allocations: 0.6556 MB / 0.5357 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.3362, allocations: 225 kB / 0.5359 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3364, allocations: 85.25 kB / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3364, allocations: 9.328 kB / 0.536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3364, allocations: 35.88 kB / 0.536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3364, allocations: 0 / 0.536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007053/0.3372, allocations: 292.6 kB / 0.5363 GB, free: 9.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3372, allocations: 52.47 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3374, allocations: 225.6 kB / 0.5366 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3375, allocations: 34.95 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.3375, allocations: 119 kB / 0.5367 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.3376, allocations: 45.25 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.3377, allocations: 44.38 kB / 0.5368 GB, free: 8.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3378, allocations: 327.9 kB / 0.5371 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.338, allocations: 79.47 kB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3382, allocations: 115.7 kB / 0.5373 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.3387, allocations: 206.3 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3388, allocations: 4 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006253/0.3394, allocations: 248.1 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3394, allocations: 5.844 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3394, allocations: 1.688 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3395, allocations: 5.484 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.342, allocations: 272.2 kB / 0.538 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009692/0.3517, allocations: 9.237 MB / 0.547 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3521, allocations: 26.88 kB / 0.5471 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3521, allocations: 9.453 kB / 0.5471 GB, free: 14.48 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.0001777/0.3523, allocations: 149.1 kB / 0.5472 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3524, allocations: 19.31 kB / 0.5472 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.3529, allocations: 239.5 kB / 0.5475 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3529, allocations: 2.375 kB / 0.5475 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.3529, allocations: 0 / 0.5475 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3529, allocations: 0 / 0.5475 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3532, allocations: 254 kB / 0.5477 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3532, allocations: 1.25 kB / 0.5477 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.3549, allocations: 215.8 kB / 0.5479 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3549, allocations: 1.094 kB / 0.5479 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3549, allocations: 1.031 kB / 0.5479 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/0.3627, allocations: 8.751 MB / 0.5565 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3627, allocations: 1.125 kB / 0.5565 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.3632, allocations: 293.2 kB / 0.5567 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.3633, allocations: 99.38 kB / 0.5568 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3633, allocations: 5.344 kB / 0.5568 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3635, allocations: 10.89 kB / 0.5568 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.3636, allocations: 18.94 kB / 0.5569 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3636, allocations: 10.27 kB / 0.5569 GB, free: 4.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3638, allocations: 186.9 kB / 0.557 GB, free: 4.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3638, allocations: 7.938 kB / 0.5571 GB, free: 4.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.3643, allocations: 60.34 kB / 0.5571 GB, free: 4.348 MB / 414.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.0007449/0.3651, allocations: 0.8376 MB / 0.5579 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.3671, allocations: 0.6039 MB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3671, allocations: 4 kB / 0.5585 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.3684, allocations: 405.4 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3688, allocations: 39.92 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.3719, allocations: 2.549 MB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3723, allocations: 0.7556 MB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.3726, allocations: 125.3 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3728, allocations: 91.36 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3728, allocations: 0 / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4015, allocations: 10.23 MB / 0.5724 GB, free: 4.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.42, allocations: 4.5 kB / 0.5724 GB, free: 4.926 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches