Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9272/0.9272, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2901/0.2901, allocations: 34.26 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.543e-05, allocations: 6.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.1944/0.1945, allocations: 1.692 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1955, allocations: 0.6934 MB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1956, allocations: 0 / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1958, allocations: 36.98 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.196, allocations: 65.81 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1962, allocations: 64.12 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1963, allocations: 160.1 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1964, allocations: 6.125 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.1965, allocations: 77.3 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1966, allocations: 75.19 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1966, allocations: 2.781 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.1967, allocations: 48.72 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.1967, allocations: 50.11 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.1968, allocations: 44.3 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.197, allocations: 170.2 kB / 445.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.197, allocations: 7.875 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.197, allocations: 0.75 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.197, allocations: 0 / 445.4 MB, free: 43.04 MB / 410.7 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.0004409/0.1974, allocations: 396.5 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1975, allocations: 9.156 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1975, allocations: 43.72 kB / 445.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.1978, allocations: 69.89 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.198, allocations: 163.2 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.198, allocations: 7.312 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.198, allocations: 15.5 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1983, allocations: 255.6 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1983, allocations: 2.031 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1984, allocations: 11.84 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.1984, allocations: 15.34 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1987, allocations: 241.2 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.1994, allocations: 0.6048 MB / 447.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1996, allocations: 214.1 kB / 447.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1997, allocations: 82.33 kB / 447.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1997, allocations: 10 kB / 447.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1998, allocations: 41.5 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1998, allocations: 0 / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004197/0.2002, allocations: 279.1 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2002, allocations: 57.7 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2004, allocations: 232.5 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2004, allocations: 29.64 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.2004, allocations: 117.8 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2005, allocations: 50.2 kB / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.2005, allocations: 41.66 kB / 448.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.2006, allocations: 330.3 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2007, allocations: 84.56 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2008, allocations: 117.7 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.201, allocations: 198.6 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.201, allocations: 4 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002859/0.2013, allocations: 251.7 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2013, allocations: 9.75 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2013, allocations: 2.875 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2013, allocations: 2.906 kB / 449.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.2025, allocations: 267 kB / 449.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.2065, allocations: 8.599 MB / 458.2 MB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2066, allocations: 22.86 kB / 458.2 MB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2066, allocations: 12.2 kB / 458.2 MB, free: 33.14 MB / 410.7 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 8.28e-05/0.2067, allocations: 145 kB / 458.3 MB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.2067, allocations: 16.53 kB / 458.3 MB, free: 33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.207, allocations: 251.8 kB / 458.6 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.207, allocations: 0 / 458.6 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.207, allocations: 0 / 458.6 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.207, allocations: 0 / 458.6 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2071, allocations: 209.5 kB / 458.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2071, allocations: 0 / 458.8 MB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.2078, allocations: 222.1 kB / 459 MB, free: 32.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.2078, allocations: 0 / 459 MB, free: 32.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2078, allocations: 6.938 kB / 459 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.2107, allocations: 8.109 MB / 467.1 MB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2107, allocations: 5.062 kB / 467.1 MB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.2109, allocations: 289.1 kB / 467.4 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.2109, allocations: 22.75 kB / 467.4 MB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2109, allocations: 6.484 kB / 467.4 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.211, allocations: 15.16 kB / 467.5 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.2111, allocations: 22.3 kB / 467.5 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2111, allocations: 6.875 kB / 467.5 MB, free: 24.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.2112, allocations: 180.2 kB / 467.7 MB, free: 24.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2112, allocations: 2.812 kB / 467.7 MB, free: 24.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.2115, allocations: 70.56 kB / 467.7 MB, free: 24.5 MB / 410.7 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.0004201/0.2119, allocations: 0.8255 MB / 468.6 MB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2129, allocations: 0.6032 MB / 469.2 MB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2129, allocations: 0 / 469.2 MB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.2135, allocations: 404 kB / 469.6 MB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2137, allocations: 35.72 kB / 469.6 MB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2163, allocations: 2.54 MB / 472.1 MB, free: 38.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.78e-05/0.2164, allocations: 146.2 kB / 472.3 MB, free: 38.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.2166, allocations: 117.6 kB / 472.4 MB, free: 38.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2167, allocations: 92 kB / 472.5 MB, free: 37.97 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2167, allocations: 0 / 472.5 MB, free: 37.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.238, allocations: 12.29 MB / 484.8 MB, free: 36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.15, allocations: 6.188 kB / 484.8 MB, free: 36 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.299966494552791]