Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3521, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002935/0.3551, allocations: 1.679 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3563, allocations: 0.7298 MB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.3564, allocations: 0 / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.3567, allocations: 29.84 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.357, allocations: 68.05 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.3572, allocations: 55.3 kB / 0.5209 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3574, allocations: 163.9 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.3574, allocations: 15.31 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.3575, allocations: 55.16 kB / 0.5212 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3577, allocations: 73.5 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3577, allocations: 4.969 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3579, allocations: 67.94 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.358, allocations: 51.39 kB / 0.5214 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.358, allocations: 61.83 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.3583, allocations: 181.1 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3583, allocations: 5.25 kB / 0.5216 GB, free: 1.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3583, allocations: 0 / 0.5216 GB, free: 1.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3583, allocations: 0 / 0.5216 GB, free: 1.293 MB / 382.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.0005655/0.3589, allocations: 462.7 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.359, allocations: 9.812 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.359, allocations: 47.45 kB / 0.5221 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.3596, allocations: 72.12 kB / 0.5222 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3598, allocations: 218.9 kB / 0.5224 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3598, allocations: 8.312 kB / 0.5224 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3598, allocations: 17.86 kB / 0.5224 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3603, allocations: 253.9 kB / 0.5226 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3603, allocations: 1.844 kB / 0.5226 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3603, allocations: 0 / 0.5226 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.3604, allocations: 20.3 kB / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.3609, allocations: 246.7 kB / 0.5229 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.362, allocations: 0.6595 MB / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.3624, allocations: 233.5 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3626, allocations: 82.41 kB / 0.5238 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3626, allocations: 3 kB / 0.5238 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3627, allocations: 36.33 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3627, allocations: 0 / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006816/0.3633, allocations: 289.5 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3634, allocations: 58.61 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3636, allocations: 223 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3637, allocations: 29.7 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.3638, allocations: 116.4 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.3638, allocations: 49.42 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.3639, allocations: 39.61 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.364, allocations: 329.3 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3642, allocations: 79.23 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3644, allocations: 109.6 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3648, allocations: 213 kB / 0.5253 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3648, allocations: 0 / 0.5253 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004947/0.3653, allocations: 242.8 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3654, allocations: 5.5 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3654, allocations: 1.938 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3654, allocations: 2.953 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.3678, allocations: 277.1 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009723/0.3775, allocations: 9.244 MB / 0.5349 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.3778, allocations: 22.22 kB / 0.5349 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3779, allocations: 9.141 kB / 0.5349 GB, free: 5.465 MB / 398.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.000178/0.3781, allocations: 145.8 kB / 0.535 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.3781, allocations: 15.94 kB / 0.5351 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.3786, allocations: 245.7 kB / 0.5353 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3786, allocations: 1.062 kB / 0.5353 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.3787, allocations: 4.875 kB / 0.5353 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3787, allocations: 4 kB / 0.5353 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.379, allocations: 249.7 kB / 0.5355 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.379, allocations: 1.156 kB / 0.5355 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.3806, allocations: 220 kB / 0.5358 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3807, allocations: 5.125 kB / 0.5358 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3807, allocations: 5.219 kB / 0.5358 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/0.3888, allocations: 8.734 MB / 0.5443 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3888, allocations: 5.344 kB / 0.5443 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.3893, allocations: 287.6 kB / 0.5446 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.3894, allocations: 95.75 kB / 0.5447 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3895, allocations: 5.938 kB / 0.5447 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3897, allocations: 11.11 kB / 0.5447 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3898, allocations: 23.22 kB / 0.5447 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3898, allocations: 6.75 kB / 0.5447 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.39, allocations: 190.5 kB / 0.5449 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.39, allocations: 0 / 0.5449 GB, free: 11.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.3905, allocations: 63.81 kB / 0.5449 GB, free: 11.33 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.0008599/0.3914, allocations: 0.8315 MB / 0.5458 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.3936, allocations: 0.5972 MB / 0.5463 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3937, allocations: 0 / 0.5463 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.3951, allocations: 412.9 kB / 0.5467 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3955, allocations: 40.2 kB / 0.5468 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.3993, allocations: 2.538 MB / 0.5493 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3997, allocations: 0.7513 MB / 0.55 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.4001, allocations: 112.7 kB / 0.5501 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.4003, allocations: 95.02 kB / 0.5502 GB, free: 7.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4003, allocations: 0 / 0.5502 GB, free: 7.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.4343, allocations: 10.41 MB / 0.5603 GB, free: 15.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.285, allocations: 6.938 kB / 0.5604 GB, free: 15.22 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches