Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001237/0.001237, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.001087/0.001087, allocations: 190.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2035/0.2035, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 69.61 kB / 382.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09564, allocations: 57.8 MB / 440.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.00267/0.09834, allocations: 1.679 MB / 442.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.09941, allocations: 0.7643 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.0995, allocations: 0 / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.09973, allocations: 31.83 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1, allocations: 67.72 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1002, allocations: 59.75 kB / 443.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1004, allocations: 155.3 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1004, allocations: 9.406 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.1005, allocations: 71.62 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1007, allocations: 75.67 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1007, allocations: 12 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1009, allocations: 71.81 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.101, allocations: 39.89 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.101, allocations: 63.55 kB / 443.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1013, allocations: 175.4 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1013, allocations: 0 / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1013, allocations: 0 / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1013, allocations: 3.938 kB / 443.9 MB, free: 3.465 MB / 318.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.0005977/0.1019, allocations: 466.8 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.102, allocations: 15.89 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.102, allocations: 46.72 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.1026, allocations: 76.66 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1028, allocations: 208.7 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1028, allocations: 8.375 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1029, allocations: 8.375 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.1033, allocations: 260 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1033, allocations: 4 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1033, allocations: 4 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.1034, allocations: 19.98 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1038, allocations: 243.7 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1049, allocations: 0.6601 MB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.1052, allocations: 226.3 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1054, allocations: 76.83 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1054, allocations: 11.98 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1055, allocations: 38.55 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1055, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006118/0.1061, allocations: 285.2 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1061, allocations: 51.41 kB / 446.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1063, allocations: 222.4 kB / 446.8 MB, free: 376 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1063, allocations: 33.81 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.1064, allocations: 123.9 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1064, allocations: 39.39 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.1065, allocations: 41.69 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1066, allocations: 326.8 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1068, allocations: 83.91 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.107, allocations: 118.8 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.1074, allocations: 202.1 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1074, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004963/0.1079, allocations: 253.2 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.108, allocations: 8 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.108, allocations: 3.938 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.108, allocations: 0 / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.1104, allocations: 271.6 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009547/0.12, allocations: 9.249 MB / 457.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1203, allocations: 27.73 kB / 457.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1203, allocations: 11.98 kB / 457.6 MB, free: 4.715 MB / 334.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.000135/0.1204, allocations: 151.7 kB / 457.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.1205, allocations: 11.81 kB / 457.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.121, allocations: 243 kB / 458 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.121, allocations: 4 kB / 458 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.121, allocations: 0 / 458 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1211, allocations: 0 / 458 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1213, allocations: 249.4 kB / 458.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1213, allocations: 3.984 kB / 458.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.1231, allocations: 211.6 kB / 458.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1231, allocations: 0 / 458.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1231, allocations: 12 kB / 458.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007472/0.1306, allocations: 8.743 MB / 467.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1306, allocations: 8.188 kB / 467.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.1311, allocations: 291 kB / 467.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.1312, allocations: 96.91 kB / 467.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1312, allocations: 4 kB / 467.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1314, allocations: 11.98 kB / 467.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.1315, allocations: 23.97 kB / 467.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1315, allocations: 3.938 kB / 467.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1317, allocations: 191.1 kB / 467.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1317, allocations: 3.938 kB / 467.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004431/0.1322, allocations: 60 kB / 467.8 MB, free: 9.5 MB / 350.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.0007277/0.1329, allocations: 0.8251 MB / 468.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.135, allocations: 0.611 MB / 469.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.135, allocations: 0 / 469.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.1364, allocations: 417.7 kB / 469.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1367, allocations: 42.83 kB / 469.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.1399, allocations: 2.54 MB / 472.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1402, allocations: 0.7518 MB / 473 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.1406, allocations: 117.4 kB / 473.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.1408, allocations: 91.36 kB / 473.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1408, allocations: 4 kB / 473.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05325/0.194, allocations: 10.11 MB / 483.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.646, allocations: 4.297 kB / 483.3 MB, free: 9.895 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches